diff options
author | Thinkofdeath <thinkofdeath@spigotmc.org> | 2014-11-29 00:17:45 +0000 |
---|---|---|
committer | Thinkofdeath <thinkofdeath@spigotmc.org> | 2014-11-29 00:17:45 +0000 |
commit | 585a827dcde0a7700cfeb21e2802f143f383c38e (patch) | |
tree | f2e75a45f2e870d2ec4e2ae504250eaf700d46ab /src/main/java/org/bukkit | |
parent | 923b375d8ef94b75ae84f399ccc9bc592aa3018b (diff) | |
download | craftbukkit-585a827dcde0a7700cfeb21e2802f143f383c38e.tar craftbukkit-585a827dcde0a7700cfeb21e2802f143f383c38e.tar.gz craftbukkit-585a827dcde0a7700cfeb21e2802f143f383c38e.tar.lz craftbukkit-585a827dcde0a7700cfeb21e2802f143f383c38e.tar.xz craftbukkit-585a827dcde0a7700cfeb21e2802f143f383c38e.zip |
Fix setAge and related methods
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftAgeable.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftAgeable.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftAgeable.java index ce497001..edb07964 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftAgeable.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftAgeable.java @@ -15,7 +15,7 @@ public class CraftAgeable extends CraftCreature implements Ageable { } public void setAge(int age) { - getHandle().setAge(age); + getHandle().setAgeRaw(age); } public void setAgeLock(boolean lock) { |