Patrone.cc-src-skid-me/toothless/server/nms-patches/Slot.patch
disclearing 4f52c57848 MEME ME :heart
FUCK PUTTYEXE
2019-06-19 04:50:21 +01:00

13 lines
275 B
Diff

--- 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;
}