mirror of
https://github.com/Crazy-Crew/CrazyAuctions.git
synced 2025-01-02 18:38:10 +01:00
don't run if no key is found
This commit is contained in:
parent
78c98d3c91
commit
0cf673b630
@ -216,6 +216,10 @@ public class ExpiredMenu extends Holder {
|
||||
}
|
||||
}
|
||||
|
||||
if (!container.has(Keys.auction_store_id.getNamespacedKey())) { // do not run, if there is no key.
|
||||
return;
|
||||
}
|
||||
|
||||
if (Methods.isInvFull(player)) { // run this here obviously as well
|
||||
player.sendMessage(Messages.INVENTORY_FULL.getMessage(player));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user