Renamed getName to getOwner and added setOwner

This commit is contained in:
Andrew 2013-11-06 19:54:45 +13:00
parent cd24514ec6
commit f5355bfc98

View File

@ -17,10 +17,15 @@ public class WolfWatcher extends AgeableWatcher {
return (Float) getValue(18, 8F); return (Float) getValue(18, 8F);
} }
public String getName() { public String getOwner() {
return (String) getValue(17, ""); return (String) getValue(17, "");
} }
public void setOwner(String owner) {
setValue(17, owner);
sendData(17);
}
public boolean isAngry() { public boolean isAngry() {
return isTrue(2); return isTrue(2);
} }