コード例 #1
0
ファイル: CraftWolf.java プロジェクト: Kasoo/Spoutcraft
 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;
 }