Use the same MetadataValue for both of these

This commit is contained in:
GJ
2013-02-23 18:13:12 -05:00
parent 3036d4fa90
commit 38155e3af4
4 changed files with 7 additions and 11 deletions

View File

@ -67,7 +67,7 @@ public class CallOfTheWildEventHandler {
return;
LivingEntity entity = (LivingEntity) player.getWorld().spawnEntity(player.getLocation(), type);
entity.setMetadata(mcMMO.entityMetadataKey, mcMMO.entityMetadata);
entity.setMetadata(mcMMO.entityMetadataKey, mcMMO.metadataValue);
((Tameable) entity).setOwner(player);