mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-11-10 10:10:22 +01:00
Fixed OutOfBounds error from GUI.
This commit is contained in:
parent
22d3cd0a6c
commit
43abfb72fe
@ -644,8 +644,8 @@ public class GUI implements Listener {
|
||||
}
|
||||
}
|
||||
if (List.containsKey(player)) {
|
||||
if (List.get(player).size() >= slot) {
|
||||
int id = List.get(player).get(slot);
|
||||
if (List.get(player).size() > slot) {
|
||||
int id = List.get(player).get(slot - 1);
|
||||
boolean T = false;
|
||||
if (data.contains("Items")) {
|
||||
for (String i : data.getConfigurationSection("Items").getKeys(false)) {
|
||||
|
Loading…
Reference in New Issue
Block a user