From 9f30c9f8f4de30467dec9bb32101bf540c274c38 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Fri, 18 Mar 2011 17:13:54 -0400 Subject: [PATCH] Implement Slime.set/getSize() --- .../org/bukkit/craftbukkit/entity/CraftSlime.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftSlime.java index e503569ea8..9a935c4cb6 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); + } }