Fix NPE in 1.16-

This commit is contained in:
sandtechnology committed 2021-07-10 22:11:35 +08:00
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)) {