mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-25 05:55:13 +01:00
🔨 adjust payment and expired commands to work with new parent arg
Took 6 minutes Took 17 seconds
This commit is contained in:
parent
76ab8ba8b0
commit
c7c353658e
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user