Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hsyyid committed Mar 20, 2016
1 parent 6b662d6 commit 0d4656d
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ public static void readShops()
node.getChildrenMap().forEach((k, v) -> {
try
{
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)
{
AdminShop.shops.put(UUID.fromString(String.valueOf(k)), v.getValue(TypeToken.of(Shop.class), new Shop()));
}
}
catch (ObjectMappingException e)
{
Expand Down

0 comments on commit 0d4656d

Please sign in to comment.