From 548ecfdec8c7cd97239dc3cb67df4ff63aaeec64 Mon Sep 17 00:00:00 2001 From: Dinnerbone Date: Thu, 15 Sep 2011 05:48:31 +0100 Subject: Implemented Exp Orb methods --- .../java/org/bukkit/craftbukkit/entity/CraftExperienceOrb.java | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/main/java/org') diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftExperienceOrb.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftExperienceOrb.java index 3981bf32..8e8b6fe7 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftExperienceOrb.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftExperienceOrb.java @@ -14,4 +14,12 @@ public class CraftExperienceOrb extends CraftEntity implements ExperienceOrb { public EntityExperienceOrb getHandle() { return (EntityExperienceOrb) super.getHandle(); } + + public int getExperience() { + return getHandle().value; + } + + public void setExperience(int value) { + getHandle().value = value; + } } -- cgit v1.2.3