clean codes

Former-commit-id: adc8ce75d8b874832956e43fb8af0dafb6fbf213 [formerly b98dd5667416732cda1c4db6a4bb34756ddd81ad]
Former-commit-id: c485b96cfc23133bdcbc5b25b13361ee04fb5cbe
This commit is contained in:
Ghost_chu committed 2019-06-17 09:34:37 +08:00
1 parent beca8df282
commit f58d7d51b9
2 files changed
+2 -4

No files matched your search

@@ -74,9 +74,7 @@ public class ShopLoader {
//Load to RAM
plugin.getShopManager().loadShop(data.getWorld().getName(), shop);
boolean chunkLoaded = Util.isLoaded(shop.getLocation());
if (chunkLoaded) {
if (Util.isLoaded(shop.getLocation())) {
//Load to World
if (!Util.canBeShop(shop.getLocation().getBlock())) {
Util.debugLog("Target block can't be a shop, removing it from the database...");