mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
@ -68,7 +68,7 @@ public class CallOfTheWildEventHandler {
|
||||
return;
|
||||
|
||||
LivingEntity entity = (LivingEntity) player.getWorld().spawnEntity(player.getLocation(), type);
|
||||
entity.setMetadata("mcmmoSummoned", new FixedMetadataValue(mcMMO.p, true));
|
||||
mcMMO.p.placeStore.addSpawnedPet((Entity) entity);
|
||||
|
||||
((Tameable) entity).setOwner(player);
|
||||
|
||||
|
Reference in New Issue
Block a user