mirror of
https://github.com/kiranhart/Auction-House.git
synced 2025-01-23 15:21:20 +01:00
🖤 blacklist fix
Took 18 seconds
This commit is contained in:
parent
aee606947a
commit
7e9a75e02a
@ -29,7 +29,7 @@ public final class EcoBitsEconomyLoader extends CurrencyLoader {
|
||||
if (blacklistSplit.length != 2) continue;
|
||||
if (!blacklistSplit[0].equalsIgnoreCase(this.owningPlugin)) continue;
|
||||
|
||||
if (blacklistSplit[1].equalsIgnoreCase(currency.getName()))
|
||||
if (blacklistSplit[1].equalsIgnoreCase(currency.getId()))
|
||||
blackListed = true;
|
||||
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ public final class FundsEconomyLoader extends CurrencyLoader {
|
||||
if (blacklistSplit.length != 2) continue;
|
||||
if (!blacklistSplit[0].equalsIgnoreCase(this.owningPlugin)) continue;
|
||||
|
||||
if (blacklistSplit[1].equalsIgnoreCase(currency.getName()))
|
||||
if (blacklistSplit[1].equalsIgnoreCase(currency.getId()))
|
||||
blackListed = true;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user