From 6a02ab857b165a7281f50fd4c23c5f1d9df7db76 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 2 Dec 2013 14:54:19 +1100 Subject: [PATCH] [Bukkit Bug] Fix experience not being dropped by ores --- .../0069-Fix-experience-drops.patch | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 CraftBukkit-Patches/0069-Fix-experience-drops.patch diff --git a/CraftBukkit-Patches/0069-Fix-experience-drops.patch b/CraftBukkit-Patches/0069-Fix-experience-drops.patch new file mode 100644 index 0000000000..16d6e5ba78 --- /dev/null +++ b/CraftBukkit-Patches/0069-Fix-experience-drops.patch @@ -0,0 +1,22 @@ +From 4e5d4ed4a83ebd8f4d9160b048ed626dadeeaf7b Mon Sep 17 00:00:00 2001 +From: md_5 +Date: Mon, 2 Dec 2013 14:54:00 +1100 +Subject: [PATCH] Fix experience drops + + +diff --git a/src/main/java/net/minecraft/server/PlayerInteractManager.java b/src/main/java/net/minecraft/server/PlayerInteractManager.java +index e24d4b5..5be0467 100644 +--- a/src/main/java/net/minecraft/server/PlayerInteractManager.java ++++ b/src/main/java/net/minecraft/server/PlayerInteractManager.java +@@ -315,7 +315,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()); // Spigot + } + // CraftBukkit end + +-- +1.8.3.2 +