This commit is contained in:
Xanadu13 committed 2024-03-18 16:26:04 +08:00
1 parent c0725bcbe3
commit ee47b2254a
1 file changed
+1 -1
@@ -50,7 +50,7 @@ public class GUI {
this.page = a; this.page = a;
for(int i=0;i<this.slots.size();i++){ for(int i=0;i<this.slots.size();i++){
GUISlot slot = this.slots.get(i); GUISlot slot = this.slots.get(i);
if (slot instanceof ItemSlot) { if (slot instanceof ItemSlot || slot instanceof DragonSlot) {
this.inv.setItem(i, new ItemStack(Material.AIR)); this.inv.setItem(i, new ItemStack(Material.AIR));
} }
} }