remove unused mcmmo code

Took 25 seconds
This commit is contained in:
Kiran Hart 2024-02-12 15:12:38 -05:00
parent 204b474742
commit b15a45f83e
No known key found for this signature in database
GPG Key ID: 5F36C7BC79D3EBC3

View File

@ -70,12 +70,6 @@ public final class AuctionCreator {
} }
// Hooks & Special Cases // Hooks & Special Cases
// if (McMMOHook.isUsingAbility(seller)) {
// instance.getLocale().getMessage("general.mcmmo_ability_active").sendPrefixedMessage(seller);
// result.accept(auctionItem, CANNOT_LIST_WITH_MCMMO_ABILITY_ACTIVE);
// return;
// }
if (!Settings.ALLOW_SALE_OF_DAMAGED_ITEMS.getBoolean() && AuctionAPI.getInstance().isDamaged(auctionItem.getItem())) { if (!Settings.ALLOW_SALE_OF_DAMAGED_ITEMS.getBoolean() && AuctionAPI.getInstance().isDamaged(auctionItem.getItem())) {
instance.getLocale().getMessage("general.cannot list damaged item").sendPrefixedMessage(seller); instance.getLocale().getMessage("general.cannot list damaged item").sendPrefixedMessage(seller);
result.accept(auctionItem, CANNOT_SELL_DAMAGED_ITEM); result.accept(auctionItem, CANNOT_SELL_DAMAGED_ITEM);