13
0
geforkt von Mirrors/Paper
Paper/nms-patches/Slot.patch

13 Zeilen
275 B
Diff

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/Slot.java
+++ b/net/minecraft/server/Slot.java
@@ -45,6 +45,9 @@
}
public boolean hasItem() {
+ if (getItem() != null && getItem().count == 0) {
+ set(null);
+ }
return this.getItem() != null;
}