From bb97715c57fb05a6d62068e3bb0082cc99d96b54 Mon Sep 17 00:00:00 2001 From: tastybento Date: Wed, 8 May 2019 12:45:48 -0700 Subject: [PATCH] Version up - uses 1.5.0 Bentobox API --- pom.xml | 8 ++++++-- .../java/world/bentobox/greenhouses/Settings.java | 13 ++----------- 2 files changed, 8 insertions(+), 13 deletions(-) diff --git a/pom.xml b/pom.xml index 26f44fd..b791f16 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ world.bentobox Greenhouses - 0.0.2-SNAPSHOT + 0.0.3-SNAPSHOT Greenhouses Greenhouses is an add-on for BentoBox, an expandable Minecraft Bukkit plugin for island-type games like ASkyBlock or AcidIsland. @@ -51,6 +51,10 @@ spigot-repo https://hub.spigotmc.org/nexus/content/repositories/snapshots + + codemc-public + https://repo.codemc.org/repository/maven-public + @@ -81,7 +85,7 @@ world.bentobox bentobox - 1.1-SNAPSHOT + 1.5.0-SNAPSHOT diff --git a/src/main/java/world/bentobox/greenhouses/Settings.java b/src/main/java/world/bentobox/greenhouses/Settings.java index 956aa6e..3db39aa 100644 --- a/src/main/java/world/bentobox/greenhouses/Settings.java +++ b/src/main/java/world/bentobox/greenhouses/Settings.java @@ -5,8 +5,8 @@ import java.util.List; import world.bentobox.bentobox.api.configuration.ConfigComment; import world.bentobox.bentobox.api.configuration.ConfigEntry; +import world.bentobox.bentobox.api.configuration.ConfigObject; import world.bentobox.bentobox.api.configuration.StoreAt; -import world.bentobox.bentobox.database.objects.DataObject; /** @@ -16,7 +16,7 @@ import world.bentobox.bentobox.database.objects.DataObject; @StoreAt(filename="config.yml", path="addons/Greenhouses") // Explicitly call out what name this should have. @ConfigComment("Greenhouses Configuration [version]") @ConfigComment("") -public class Settings implements DataObject { +public class Settings implements ConfigObject { // General @ConfigComment("BentoBox GameModes that will use Greenhouses") @@ -60,15 +60,6 @@ public class Settings implements DataObject { @ConfigEntry(path = "greenhouses.allowflowin") private boolean allowFlowIn; - - - - @Override - public String getUniqueId() { - return "config"; - } - @Override - public void setUniqueId(String uniqueId) {} /** * @return the gameModes */