From acfd6350b214421672837d2b44b6e11a471fb501 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sun, 5 Aug 2018 20:37:03 -0700 Subject: [PATCH] Updated to renamed API --- pom.xml | 3 ++- src/main/java/bentobox/addon/acidisland/AcidIsland.java | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 2c90736..bfb6814 100644 --- a/pom.xml +++ b/pom.xml @@ -63,7 +63,8 @@ world.bentobox bentobox - LATEST + FC-0.81 + provided org.mockito diff --git a/src/main/java/bentobox/addon/acidisland/AcidIsland.java b/src/main/java/bentobox/addon/acidisland/AcidIsland.java index a2cd56f..8bb3e83 100644 --- a/src/main/java/bentobox/addon/acidisland/AcidIsland.java +++ b/src/main/java/bentobox/addon/acidisland/AcidIsland.java @@ -10,10 +10,10 @@ import bentobox.addon.acidisland.listeners.LavaCheck; import bentobox.addon.acidisland.world.AcidIslandWorld; import bentobox.addon.acidisland.world.AcidTask; import world.bentobox.bentobox.api.addons.Addon; -import world.bentobox.bentobox.api.configuration.BSBConfig; +import world.bentobox.bentobox.api.configuration.BBConfig; /** - * Addon to BSkyBlock that enables AcidIsland + * Add-on to BentoBox that enables AcidIsland * @author tastybento * */ @@ -29,7 +29,7 @@ public class AcidIsland extends Addon { addon = this; saveDefaultConfig(); // Load settings - settings = new BSBConfig<>(this, AISettings.class).loadConfigObject(""); + settings = new BBConfig<>(this, AISettings.class).loadConfigObject(); // Create worlds aiw = new AcidIslandWorld(this); } @@ -53,7 +53,7 @@ public class AcidIsland extends Addon { acidTask.cancelTasks(); // Save settings if (settings != null) { - new BSBConfig<>(this, AISettings.class).saveConfigObject(settings); + new BBConfig<>(this, AISettings.class).saveConfigObject(settings); } }