Skip to content

Commit d81d8e1

Browse files
committed
clean up
1 parent 72fab0f commit d81d8e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/maxgamer/quickshop/shop/ContainerShop.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ public void onLoad() {
922922
}
923923
Map<Location, Shop> shopsInChunk = plugin.getShopManager().getShops(getLocation().getChunk());
924924

925-
if(shopsInChunk == null || shopsInChunk.isEmpty() || !shopsInChunk.containsValue(this)){
925+
if(shopsInChunk == null || !shopsInChunk.containsValue(this)){
926926
throw new IllegalStateException("Shop must register into ShopManager before loading.");
927927
}
928928

0 commit comments

Comments
 (0)