public AnimalTamer getOwner() { // If the wolf has a previously set owner use that, otherwise try and find the player who owns // it if (owner == null && !("").equals(getOwnerName())) { owner = Spoutcraft.getPlayer(getOwnerName()); } return owner; }