13
0
geforkt von Mirrors/Paper
Paper/paper-server/nms-patches/Slot.patch
CraftBukkit/Spigot d506c12c07 Minecraft 1.9.4
By: md_5 <git@md-5.net>
2016-05-10 21:47:39 +10:00

13 Zeilen
275 B
Diff

--- a/net/minecraft/server/Slot.java
+++ b/net/minecraft/server/Slot.java
@@ -48,6 +48,9 @@
}
public boolean hasItem() {
+ if (getItem() != null && getItem().count == 0) {
+ set(null);
+ }
return this.getItem() != null;
}