Renamed getName to getOwner and added setOwner
This commit is contained in:
parent
cd24514ec6
commit
f5355bfc98
@ -17,10 +17,15 @@ public class WolfWatcher extends AgeableWatcher {
|
||||
return (Float) getValue(18, 8F);
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
public String getOwner() {
|
||||
return (String) getValue(17, "");
|
||||
}
|
||||
|
||||
public void setOwner(String owner) {
|
||||
setValue(17, owner);
|
||||
sendData(17);
|
||||
}
|
||||
|
||||
public boolean isAngry() {
|
||||
return isTrue(2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user