A feature-rich Minecraft plugin which enhances gaming experience
git clone git://soophie.de/poppy
3
*.jar4
.classpath5
.project6
*.prefs
96
@EventHandler97
public void onArmorStandDestroy(EntityDeathEvent event)98
{99
if(event.getEntity() instanceof ArmorStand)100
{101
ArmorStand armorstand = (ArmorStand) event.getEntity();103
if(armorstand.hasArms())104
{105
event.getDrops().add(new ItemStack(Material.STICK, 2));106
}107
}99
if(event.getEntity() instanceof ArmorStand)100
{101
ArmorStand armorstand = (ArmorStand) event.getEntity();103
if(armorstand.hasArms()){104
event.getDrops().add(new ItemStack(Material.STICK, 2));105
}106
}107
}108
}108
\ No newline at end of file