mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-28 03:34:43 +02:00
Fix for COTW and a fix for stat wipes w/ offline mode off for FlatFile
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user