mirror of
https://github.com/PEXPlugins/Modifyworld.git
synced 2024-12-22 16:18:24 +01:00
This commit is contained in:
parent
bc8cdd2814
commit
81a6a897ef
@ -70,7 +70,7 @@ public abstract class ModifyworldListener implements Listener {
|
||||
} else if (entity instanceof Tameable) {
|
||||
Tameable animal = (Tameable) entity;
|
||||
|
||||
return "animal." + entityName + (animal.isTamed() ? "." + ((Player) animal.getOwner()).getName() : "");
|
||||
return "animal." + entityName + (animal.isTamed() ? "." + animal.getOwner().getName() : "");
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user