mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 09:59:49 -05:00
Fix NPE in 1.16-
This commit is contained in:
1 parent
afcf87eb03
commit
34036648cc
1 file changed
+1
-1
@@ -680,7 +680,7 @@ public class ContainerShop implements Shop {
|
||||
DyeColor dyeColor = null;
|
||||
try {
|
||||
dyeColor = DyeColor.valueOf(plugin.getConfig().getString("shop.sign-dye-color"));
|
||||
} catch (IllegalArgumentException ignored) {
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
for (Sign sign : signs) {
|
||||
if (Arrays.equals(sign.getLines(), lines)) {
|
||||
|
||||
Reference in new issue
Block a user