🔨 Fixed container inspection not filling items correctly in gui

This commit is contained in:
Kiran Hart 2025-01-04 13:50:13 -05:00
parent 82ac56badf
commit 3a649f5bd3
No known key found for this signature in database
GPG Key ID: 5F36C7BC79D3EBC3

View File

@ -34,6 +34,8 @@ import org.bukkit.inventory.meta.BlockStateMeta;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.IntStream;
/**
* The current file has been created by Kiran Hart
@ -114,6 +116,6 @@ public class GUIContainerInspect extends AuctionPagedGUI<ItemStack> {
@Override
protected List<Integer> fillSlots() {
return Arrays.asList(0, 1, 2, 3, 4, 5, 6, 7, 8, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 50, 51, 52, 53);
return IntStream.rangeClosed(0, 44).boxed().collect(Collectors.toList());
}
}