Another NPE

This commit is contained in:
TrueDarkLord 2024-12-13 09:12:34 -07:00
parent bc0cf80595
commit c9bb6f36c5
No known key found for this signature in database
GPG Key ID: 02AA15A3B1FAFE4F

View File

@ -568,11 +568,11 @@ public class GuiListener implements Listener {
String bid = data.getString("Items." + i + ".TopBidder");
if (bid != null) {
if (bid != null && !bid.equals("None")) {
bidder = Methods.getOfflinePlayer(bid);
}
ItemBuilder itemBuilder = ItemBuilder.convertItemStack(data.getString("Items." + ID + ".Item"));
ItemBuilder itemBuilder = ItemBuilder.convertItemStack(data.getString("Items." + i + ".Item"));
List<String> lore = new ArrayList<>(itemBuilder.getUpdatedLore());