From 9b95b592ccf5c75aece2e6b9e976f827fe52edeb Mon Sep 17 00:00:00 2001 From: Ghost_chu <2908803755@qq.com> Date: Tue, 27 Aug 2019 16:16:09 +0800 Subject: [PATCH] Cleanup Code Former-commit-id: 6ade2f7fca426a3d16e7afb2d84bee91f0d69a00 [formerly 34e6b296f11e1f04924c81352a3b3399b65a2639] Former-commit-id: e1991bd086d60f0fabe9167d8fc689e8cadc7d04 --- .../maxgamer/quickshop/Shop/ShopLoader.java | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/src/main/java/org/maxgamer/quickshop/Shop/ShopLoader.java b/src/main/java/org/maxgamer/quickshop/Shop/ShopLoader.java index 971e27715..07265e083 100644 --- a/src/main/java/org/maxgamer/quickshop/Shop/ShopLoader.java +++ b/src/main/java/org/maxgamer/quickshop/Shop/ShopLoader.java @@ -181,14 +181,6 @@ public class ShopLoader { Util.debugLog("Shop Owner is null"); return true; } - // if (shop.getLocation().getChunk() == null) { - // Util.debugLog("Shop Chunk is null"); - // return true; - // } - // if (shop.getLocation().getBlock() == null) { - // Util.debugLog("Shop Block is null"); - // return true; - // } return false; } @@ -242,19 +234,6 @@ public class ShopLoader { } private @Nullable ShopModerator deserializeModerator(@NotNull String moderatorJson) { - // try { - // UUID.fromString(moderators); - // if (!isBackuped) { - // isBackuped = Util.backupDatabase(); - // } - // - // - // moderators = ShopModerator.serialize(shopModerator); //Serialize - // } catch (IllegalArgumentException ex) { - // //This expcetion is normal, cause i need check that is or not a UUID. - // shopModerator = ShopModerator.deserialize(moderators); - // } - // ShopModerator shopModerator; if (Util.isUUID(moderatorJson)) { Util.debugLog("Updating old shop data...");