From 7e9a75e02abfa20cef036db38df2b7ab8f6da867 Mon Sep 17 00:00:00 2001 From: Kiran Hart Date: Thu, 3 Oct 2024 13:24:22 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=96=A4=20blacklist=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Took 18 seconds --- .../auctionhouse/model/currency/EcoBitsEconomyLoader.java | 2 +- .../tweetzy/auctionhouse/model/currency/FundsEconomyLoader.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ca/tweetzy/auctionhouse/model/currency/EcoBitsEconomyLoader.java b/src/main/java/ca/tweetzy/auctionhouse/model/currency/EcoBitsEconomyLoader.java index 11890ed..c350a9a 100644 --- a/src/main/java/ca/tweetzy/auctionhouse/model/currency/EcoBitsEconomyLoader.java +++ b/src/main/java/ca/tweetzy/auctionhouse/model/currency/EcoBitsEconomyLoader.java @@ -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; } diff --git a/src/main/java/ca/tweetzy/auctionhouse/model/currency/FundsEconomyLoader.java b/src/main/java/ca/tweetzy/auctionhouse/model/currency/FundsEconomyLoader.java index d7d640e..336132b 100644 --- a/src/main/java/ca/tweetzy/auctionhouse/model/currency/FundsEconomyLoader.java +++ b/src/main/java/ca/tweetzy/auctionhouse/model/currency/FundsEconomyLoader.java @@ -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; }