🔨 adjust payment and expired commands to work with new parent arg

Took 6 minutes

Took 17 seconds
This commit is contained in:
Kiran Hart 2024-05-29 14:06:03 -04:00
parent 76ab8ba8b0
commit c7c353658e
No known key found for this signature in database
GPG Key ID: 5F36C7BC79D3EBC3
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ public class CommandExpired extends AbstractCommand {
instance.getAuctionPlayerManager().addPlayer(new AuctionPlayer(player)); 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; return ReturnType.SUCCESS;
} }

View File

@ -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.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.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; return ReturnType.SUCCESS;
} }