Skip to content

Commit

Permalink
Update to BentoBox 1.5.0-SNAPSHOT version
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed May 9, 2019
1 parent ffb3161 commit 3267100
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
<powermock.version>1.7.4</powermock.version>
<!-- More visible way how to change dependency versions -->
<spigot.version>1.13.2-R0.1-SNAPSHOT</spigot.version>
<bentobox.version>1.4.0</bentobox.version>
<level.version>1.3.0</level.version>
<bentobox.version>1.5.0-SNAPSHOT</bentobox.version>
<level.version>1.4.0</level.version>
<vault.version>1.7</vault.version>
<anvilgui.version>1.2.1-SNAPSHOT</anvilgui.version>
<!-- Revision variable removes warning about dynamic version -->
Expand Down
24 changes: 2 additions & 22 deletions src/main/java/world/bentobox/biomes/objects/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

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;


/**
Expand All @@ -20,20 +20,13 @@
@ConfigComment("You cannot edit it while the server is running because changes will")
@ConfigComment("be lost! Use in-game settings GUI or edit when server is offline.")
@ConfigComment("")
public class Settings implements DataObject
public class Settings implements ConfigObject
{
// ---------------------------------------------------------------------
// Section: Getters
// ---------------------------------------------------------------------


@Override
public String getUniqueId()
{
return this.uniqueId;
}


/**
* This method returns if advanced menu is enabled.
* @return true - if enabled, otherwise false.
Expand Down Expand Up @@ -109,13 +102,6 @@ public Set<String> getDisabledGameModes()
// ---------------------------------------------------------------------


@Override
public void setUniqueId(String uniqueId)
{
this.uniqueId = uniqueId;
}


/**
* This method sets value of advancedMenu variable.
* @param advancedMenu new value.
Expand Down Expand Up @@ -272,10 +258,4 @@ public enum VisibilityMode
@ConfigComment(" - BSkyBlock")
@ConfigEntry(path = "disabled-gamemodes")
private Set<String> disabledGameModes = new HashSet<>();

/**
* Default variable.
*/
@ConfigComment("")
private String uniqueId = "config";
}

0 comments on commit 3267100

Please sign in to comment.