We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b662d6 commit 0d4656dCopy full SHA for 0d4656d
src/main/java/io/github/hsyyid/adminshop/utils/ConfigManager.java
@@ -46,7 +46,10 @@ public static void readShops()
46
node.getChildrenMap().forEach((k, v) -> {
47
try
48
{
49
- AdminShop.shops.put(UUID.fromString(String.valueOf(k)), v.getValue(TypeToken.of(Shop.class), new Shop()));
+ if (shopConfig.get().getNode("shops", String.valueOf(k), "signLocation").getValue() != null)
50
+ {
51
+ AdminShop.shops.put(UUID.fromString(String.valueOf(k)), v.getValue(TypeToken.of(Shop.class), new Shop()));
52
+ }
53
}
54
catch (ObjectMappingException e)
55
0 commit comments