mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-22 05:25:11 +01:00
❌ remove unused mcmmo code
Took 25 seconds
This commit is contained in:
parent
204b474742
commit
b15a45f83e
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user