Fix for COTW and a fix for stat wipes w/ offline mode off for FlatFile

This commit is contained in:
nossr50
2012-08-04 15:21:34 -07:00
parent 42a1fdf2df
commit b30002948c
2 changed files with 2 additions and 2 deletions

View File

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