1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-17 02:34:30 +01:00

Implement Slime.set/getSize()

By: Celtic Minstrel <celtic.minstrel.ca@>
This commit is contained in:
CraftBukkit/Spigot 2011-03-18 17:13:54 -04:00
parent 11902a86ff
commit 4e68f7523b

View file

@ -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);
}
}