diff options
author | Celtic Minstrel <celtic.minstrel.ca@> | 2011-03-18 17:13:54 -0400 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-03-26 17:53:26 +0100 |
commit | 9f30c9f8f4de30467dec9bb32101bf540c274c38 (patch) | |
tree | dfd8bff5486bd9f43d88ccdce599a4bb7a4466e0 /src/main/java | |
parent | cd50683f7899976527a9dc53a6b4f2b0daf2c6f9 (diff) | |
download | craftbukkit-9f30c9f8f4de30467dec9bb32101bf540c274c38.tar craftbukkit-9f30c9f8f4de30467dec9bb32101bf540c274c38.tar.gz craftbukkit-9f30c9f8f4de30467dec9bb32101bf540c274c38.tar.lz craftbukkit-9f30c9f8f4de30467dec9bb32101bf540c274c38.tar.xz craftbukkit-9f30c9f8f4de30467dec9bb32101bf540c274c38.zip |
Implement Slime.set/getSize()
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java index e503569e..9a935c4c 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java @@ -16,4 +16,15 @@ public class CraftSlime extends CraftLivingEntity implements Slime { return "CraftSlime"; } + public EntitySlime getHandle() { + return (EntitySlime) super.getHandle(); + } + + public int getSize() { + return getHandle().c; + } + + public void setSize(int size) { + getHandle().e(size); + } } |