From f5355bfc98b2e7ab685cd0305d03094598905f24 Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 6 Nov 2013 19:54:45 +1300 Subject: [PATCH] Renamed getName to getOwner and added setOwner --- .../disguise/disguisetypes/watchers/WolfWatcher.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/me/libraryaddict/disguise/disguisetypes/watchers/WolfWatcher.java b/src/me/libraryaddict/disguise/disguisetypes/watchers/WolfWatcher.java index 65d3af24..da020598 100644 --- a/src/me/libraryaddict/disguise/disguisetypes/watchers/WolfWatcher.java +++ b/src/me/libraryaddict/disguise/disguisetypes/watchers/WolfWatcher.java @@ -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); }