mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2024-11-21 11:45:11 +01:00
fix another npe
This commit is contained in:
parent
5fe1f0a019
commit
cdaa0f7ad9
@ -190,8 +190,8 @@ public class BidMenu extends Holder {
|
||||
|
||||
auction.setTopBid(auction.getTopBid() + price);
|
||||
|
||||
this.inventory.setItem(4, auction.getActiveItem(ShopType.BID).getItemStack());
|
||||
this.inventory.setItem(13, getGlass(bidMenu));
|
||||
inventory.setItem(4, auction.getActiveItem(ShopType.BID).getItemStack());
|
||||
inventory.setItem(13, getGlass(bidMenu));
|
||||
}
|
||||
|
||||
case "-1", "-10", "-100", "-1000" -> {
|
||||
@ -199,8 +199,8 @@ public class BidMenu extends Holder {
|
||||
|
||||
auction.setTopBid(auction.getTopBid() + price);
|
||||
|
||||
this.inventory.setItem(4, auction.getActiveItem(ShopType.BID).getItemStack());
|
||||
this.inventory.setItem(13, getGlass(bidMenu));
|
||||
inventory.setItem(4, auction.getActiveItem(ShopType.BID).getItemStack());
|
||||
inventory.setItem(13, getGlass(bidMenu));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user