diff options
author | feildmaster <admin@feildmaster.com> | 2013-12-02 03:03:00 -0600 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2013-12-02 17:29:12 -0600 |
commit | 8c444f275abf162310d0a4b9f41aa94e7fe45964 (patch) | |
tree | a74aaceeb19a4ca7d9cc986600b8d31937738163 /src/main/java/net/minecraft/server/PlayerInteractManager.java | |
parent | 963cd5438a2b2f779b9e81cc7edd6357b5231463 (diff) | |
download | craftbukkit-8c444f275abf162310d0a4b9f41aa94e7fe45964.tar craftbukkit-8c444f275abf162310d0a4b9f41aa94e7fe45964.tar.gz craftbukkit-8c444f275abf162310d0a4b9f41aa94e7fe45964.tar.lz craftbukkit-8c444f275abf162310d0a4b9f41aa94e7fe45964.tar.xz craftbukkit-8c444f275abf162310d0a4b9f41aa94e7fe45964.zip |
Correctly drop BlockBreakEvent experience. Fixes BUKKIT-4942
This was a missed diff from the update.
Diffstat (limited to 'src/main/java/net/minecraft/server/PlayerInteractManager.java')
-rw-r--r-- | src/main/java/net/minecraft/server/PlayerInteractManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/PlayerInteractManager.java b/src/main/java/net/minecraft/server/PlayerInteractManager.java index 3028404a..bceba7bc 100644 --- a/src/main/java/net/minecraft/server/PlayerInteractManager.java +++ b/src/main/java/net/minecraft/server/PlayerInteractManager.java @@ -314,7 +314,7 @@ public class PlayerInteractManager { // CraftBukkit start - Drop event experience if (flag && event != null) { - block.c(this.world, i, j, k, event.getExpToDrop()); + block.dropExperience(this.world, i, j, k, event.getExpToDrop()); } // CraftBukkit end |