22 lines
865 B
Diff
22 lines
865 B
Diff
From 7b66998011a3a50f29342d263f72653bbff269bf Mon Sep 17 00:00:00 2001
|
|
From: md_5 <md_5@live.com.au>
|
|
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
|
|
|