Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 04:50:05 +01:00
13 Zeilen
275 B
Diff
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;
|
|
}
|
|
|