mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2025-01-06 19:18:05 +01:00
Display items in /ah
This commit is contained in:
parent
56278d3313
commit
f79a2eed10
@ -1,5 +1,5 @@
|
||||
#Minecraft server properties
|
||||
#Wed Mar 20 12:17:37 EDT 2024
|
||||
#Sun Mar 24 11:22:10 EDT 2024
|
||||
enable-jmx-monitoring=false
|
||||
rcon.port=25575
|
||||
level-seed=
|
||||
|
@ -78,7 +78,9 @@ public class GuiListener implements Listener {
|
||||
|
||||
lore.forEach(itemBuilder::addLore);
|
||||
|
||||
ID.add(data.getInt("Items." + i + ".StoreID"));;
|
||||
items.add(itemBuilder.build());
|
||||
|
||||
ID.add(data.getInt("Items." + i + ".StoreID"));
|
||||
}
|
||||
} else {
|
||||
if (sell == ShopType.SELL) {
|
||||
@ -90,6 +92,8 @@ public class GuiListener implements Listener {
|
||||
|
||||
lore.forEach(itemBuilder::addLore);
|
||||
|
||||
items.add(itemBuilder.build());
|
||||
|
||||
ID.add(data.getInt("Items." + i + ".StoreID"));
|
||||
}
|
||||
}
|
||||
@ -254,6 +258,8 @@ public class GuiListener implements Listener {
|
||||
|
||||
lore.forEach(itemBuilder::addLore);
|
||||
|
||||
items.add(itemBuilder.build());
|
||||
|
||||
ID.add(data.getInt("Items." + i + ".StoreID"));
|
||||
}
|
||||
}
|
||||
@ -289,6 +295,8 @@ public class GuiListener implements Listener {
|
||||
|
||||
lore.forEach(itemBuilder::addLore);
|
||||
|
||||
items.add(itemBuilder.build());
|
||||
|
||||
ID.add(data.getInt("OutOfTime/Cancelled." + i + ".StoreID"));
|
||||
}
|
||||
}
|
||||
@ -464,6 +472,8 @@ public class GuiListener implements Listener {
|
||||
|
||||
lore.forEach(itemBuilder::addLore);
|
||||
|
||||
items.add(itemBuilder.build());
|
||||
|
||||
ID.add(data.getInt("Items." + i + ".StoreID"));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user