diff --git a/config.yml b/config.yml index e52b571..7d4bdc1 100644 --- a/config.yml +++ b/config.yml @@ -308,7 +308,7 @@ blocks: # If a block is not listed, the default value will be used # Prefix with world name worlds: - AcidIsland-world: + AcidIsland_world: SAND: 0 SANDSTONE: 0 ICE: 0 diff --git a/src/main/java/bskyblock/addon/level/config/Settings.java b/src/main/java/bskyblock/addon/level/config/Settings.java index b695203..209ff03 100644 --- a/src/main/java/bskyblock/addon/level/config/Settings.java +++ b/src/main/java/bskyblock/addon/level/config/Settings.java @@ -96,7 +96,7 @@ public class Settings { worldBlockValues.put(bWorld, values); } } else { - level.getLogger().severe("No such world : " + world); + level.getLogger().severe("Level Addon: No such world : " + world); } } } diff --git a/src/main/java/bskyblock/addon/level/database/object/LevelsData.java b/src/main/java/bskyblock/addon/level/database/object/LevelsData.java index 279bbe7..abbe9e0 100644 --- a/src/main/java/bskyblock/addon/level/database/object/LevelsData.java +++ b/src/main/java/bskyblock/addon/level/database/object/LevelsData.java @@ -19,6 +19,8 @@ public class LevelsData implements DataObject { // Map - world name, level @Expose private Map levels = new HashMap<>(); + + public LevelsData() {} // For Bean loading /** * Create a level entry for target player diff --git a/src/main/java/bskyblock/addon/level/database/object/TopTenData.java b/src/main/java/bskyblock/addon/level/database/object/TopTenData.java index 3a4d779..8633a49 100644 --- a/src/main/java/bskyblock/addon/level/database/object/TopTenData.java +++ b/src/main/java/bskyblock/addon/level/database/object/TopTenData.java @@ -22,6 +22,8 @@ public class TopTenData implements DataObject { private String uniqueId = ""; @Expose private Map topTen = new LinkedHashMap<>(); + + public TopTenData() {} public Map getTopTen() { return topTen.entrySet().stream()