mirror of
https://github.com/kiranhart/Auction-House.git
synced 2025-01-23 15:21:20 +01:00
fix issue where glass is being taken out of bottom row still
Took 2 minutes
This commit is contained in:
parent
47ae641695
commit
7a3ec41ca8
@ -58,9 +58,14 @@ public final class GUIBundleCreation extends AbstractPlaceholderGui {
|
||||
setAcceptsItems(true);
|
||||
setAllowShiftClick(true);
|
||||
setUnlockedRange(0, 44);
|
||||
|
||||
for (int i = 0; i < 45; i++)
|
||||
setItem(i, XMaterial.AIR.parseItem());
|
||||
|
||||
setActionForRange(45, 53, e -> {
|
||||
e.event.setCancelled(true);
|
||||
});
|
||||
|
||||
setOnClose(close -> {
|
||||
for (int i = 0; i < 45; i++) {
|
||||
final ItemStack item = getItem(i);
|
||||
|
Loading…
Reference in New Issue
Block a user