diff --git a/src/main/java/ca/tweetzy/auctionhouse/commands/CommandExpired.java b/src/main/java/ca/tweetzy/auctionhouse/commands/CommandExpired.java index 3b95363..229124c 100644 --- a/src/main/java/ca/tweetzy/auctionhouse/commands/CommandExpired.java +++ b/src/main/java/ca/tweetzy/auctionhouse/commands/CommandExpired.java @@ -55,7 +55,7 @@ public class CommandExpired extends AbstractCommand { instance.getAuctionPlayerManager().addPlayer(new AuctionPlayer(player)); } - instance.getGuiManager().showGUI(player, new GUIExpiredItems(instance.getAuctionPlayerManager().getPlayer(player.getUniqueId()))); + instance.getGuiManager().showGUI(player, new GUIExpiredItems(null, instance.getAuctionPlayerManager().getPlayer(player.getUniqueId()))); return ReturnType.SUCCESS; } diff --git a/src/main/java/ca/tweetzy/auctionhouse/commands/CommandPayments.java b/src/main/java/ca/tweetzy/auctionhouse/commands/CommandPayments.java index c42eda1..5873a66 100644 --- a/src/main/java/ca/tweetzy/auctionhouse/commands/CommandPayments.java +++ b/src/main/java/ca/tweetzy/auctionhouse/commands/CommandPayments.java @@ -52,7 +52,7 @@ public class CommandPayments extends AbstractCommand { instance.getLocale().newMessage(TextUtils.formatText("&cCould not find auction player instance for&f: &e" + player.getName() + "&c creating one now.")).sendPrefixedMessage(Bukkit.getConsoleSender()); instance.getAuctionPlayerManager().addPlayer(new AuctionPlayer(player)); } - instance.getGuiManager().showGUI(player, new GUIPaymentCollection(instance.getAuctionPlayerManager().getPlayer(player.getUniqueId()))); + instance.getGuiManager().showGUI(player, new GUIPaymentCollection(null, instance.getAuctionPlayerManager().getPlayer(player.getUniqueId()))); return ReturnType.SUCCESS; }