Removed deprecated function in 1.2.5-R5

This commit is contained in:
GJ 2012-07-31 09:06:23 -04:00
parent ca9ce1ba1b
commit 42a1fdf2df

View File

@ -55,8 +55,7 @@ public class CallOfTheWildEventHandler {
}
protected void spawnCreature() {
// LivingEntity entity = (LivingEntity) player.getWorld().spawnEntity(player.getLocation(), type);
LivingEntity entity = player.getWorld().spawnCreature(player.getLocation(), type);
LivingEntity entity = (LivingEntity) player.getWorld().spawnEntity(player.getLocation(), type);
entity.setMetadata("mcmmoSummoned", new FixedMetadataValue(mcMMO.p, true));
((Tameable) entity).setOwner(player);