mirror of
https://github.com/kiranhart/Auction-House.git
synced 2024-11-22 05:25:11 +01:00
❌ Removed mcmmo ability check
Took 40 seconds
This commit is contained in:
parent
3bb48f134f
commit
03520e61b7
@ -26,7 +26,6 @@ import ca.tweetzy.auctionhouse.auction.AuctionPlayer;
|
||||
import ca.tweetzy.auctionhouse.auction.AuctionedItem;
|
||||
import ca.tweetzy.auctionhouse.auction.enums.PaymentReason;
|
||||
import ca.tweetzy.auctionhouse.events.AuctionStartEvent;
|
||||
import ca.tweetzy.auctionhouse.hooks.McMMOHook;
|
||||
import ca.tweetzy.auctionhouse.managers.SoundManager;
|
||||
import ca.tweetzy.auctionhouse.settings.Settings;
|
||||
import ca.tweetzy.core.hooks.EconomyManager;
|
||||
@ -71,11 +70,11 @@ public final class AuctionCreator {
|
||||
}
|
||||
|
||||
// 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 (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())) {
|
||||
instance.getLocale().getMessage("general.cannot list damaged item").sendPrefixedMessage(seller);
|
||||
|
Loading…
Reference in New Issue
Block a user