diff --git a/paper/src/main/java/com/badbones69/crazyauctions/controllers/GuiListener.java b/paper/src/main/java/com/badbones69/crazyauctions/controllers/GuiListener.java index d8098a0..dfe4f17 100644 --- a/paper/src/main/java/com/badbones69/crazyauctions/controllers/GuiListener.java +++ b/paper/src/main/java/com/badbones69/crazyauctions/controllers/GuiListener.java @@ -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 lore = new ArrayList<>(itemBuilder.getUpdatedLore());