mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2025-01-02 18:38:10 +01:00
Another NPE
This commit is contained in:
parent
bc0cf80595
commit
c9bb6f36c5
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user