mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 18:09:48 -05:00
Fix NullPointerException when creating shop
This commit is contained in:
1 parent
fa69a09b32
commit
46026740a5
1 file changed
+1
-1
@@ -689,7 +689,7 @@ public class ContainerShop implements Shop {
|
||||
for (int i = 0; i < lines.length; i++) {
|
||||
sign.setLine(i, lines[i]);
|
||||
}
|
||||
if (plugin.getGameVersion().isSignTextDyeSupport()) {
|
||||
if (plugin.getGameVersion().isSignTextDyeSupport() && dyeColor != null) {
|
||||
sign.setColor(dyeColor);
|
||||
}
|
||||
if (signGlowing && plugin.getGameVersion().isSignGlowingSupport()) {
|
||||
|
||||
Reference in new issue
Block a user