diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-15 05:48:31 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-15 05:48:31 +0100 |
commit | 548ecfdec8c7cd97239dc3cb67df4ff63aaeec64 (patch) | |
tree | 0263208bd1105a03b5d3d4f2fa90fa975c1df955 /src/main/java/org | |
parent | fce1a612545af95f24644c8b4430f87ced1f98da (diff) | |
download | craftbukkit-548ecfdec8c7cd97239dc3cb67df4ff63aaeec64.tar craftbukkit-548ecfdec8c7cd97239dc3cb67df4ff63aaeec64.tar.gz craftbukkit-548ecfdec8c7cd97239dc3cb67df4ff63aaeec64.tar.lz craftbukkit-548ecfdec8c7cd97239dc3cb67df4ff63aaeec64.tar.xz craftbukkit-548ecfdec8c7cd97239dc3cb67df4ff63aaeec64.zip |
Implemented Exp Orb methods
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftExperienceOrb.java | 8 |
1 files changed, 8 insertions, 0 deletions
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; + } } |