mirror of
https://github.com/BentoBoxWorld/CaveBlock.git
synced 2025-02-17 01:11:29 +01:00
Upgrade to BentoBox 1.5.0-SNAPSHOT changes.
Remove DataObject from Settings class.
This commit is contained in:
parent
a119181b46
commit
8093bbbf6c
4
pom.xml
4
pom.xml
@ -46,11 +46,11 @@
|
||||
<java.version>1.8</java.version>
|
||||
<!-- More visible way how to change dependency versions -->
|
||||
<spigot.version>1.13.2-R0.1-SNAPSHOT</spigot.version>
|
||||
<bentobox.version>1.5.0</bentobox.version>
|
||||
<bentobox.version>1.5.0-SNAPSHOT</bentobox.version>
|
||||
<!-- Revision variable removes warning about dynamic version -->
|
||||
<revision>${build.version}-SNAPSHOT</revision>
|
||||
<!-- This allows to change between versions and snapshots. -->
|
||||
<build.version>1.4.1</build.version>
|
||||
<build.version>1.5.0</build.version>
|
||||
<build.number>-LOCAL</build.number>
|
||||
</properties>
|
||||
|
||||
|
@ -31,26 +31,13 @@ import world.bentobox.bentobox.database.objects.adapters.FlagSerializer2;
|
||||
*/
|
||||
@StoreAt(filename="config.yml", path="addons/CaveBlock")
|
||||
@ConfigComment("CaveBlock Configuration [version]")
|
||||
@ConfigComment("This config file is dynamic and saved when the server is shutdown.")
|
||||
@ConfigComment("If you edit it while the server is running use /cbadmin reload")
|
||||
@ConfigComment("otherwise your settings will be lost.")
|
||||
public class Settings implements DataObject, WorldSettings
|
||||
public class Settings implements WorldSettings
|
||||
{
|
||||
// ---------------------------------------------------------------------
|
||||
// Section: Getters
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
|
||||
/**
|
||||
* @return the uniqueId
|
||||
*/
|
||||
@Override
|
||||
public String getUniqueId()
|
||||
{
|
||||
return this.uniqueId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This method returns the friendlyName object.
|
||||
* @return the friendlyName object.
|
||||
@ -793,16 +780,6 @@ public class Settings implements DataObject, WorldSettings
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
|
||||
/**
|
||||
* @param uniqueId - unique ID the uniqueId to set
|
||||
*/
|
||||
@Override
|
||||
public void setUniqueId(String uniqueId)
|
||||
{
|
||||
this.uniqueId = uniqueId;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* This method sets the friendlyName object value.
|
||||
* @param friendlyName the friendlyName object new value.
|
||||
@ -1900,6 +1877,4 @@ public class Settings implements DataObject, WorldSettings
|
||||
@ConfigEntry(path = "do-not-edit-these-settings.reset-epoch")
|
||||
private long resetEpoch = 0;
|
||||
private boolean debug;
|
||||
|
||||
private String uniqueId = "config";
|
||||
}
|
||||
|
@ -1,7 +1,4 @@
|
||||
# CaveBlock Configuration ${version}
|
||||
# This config file is dynamic and saved when the server is shutdown.
|
||||
# If you edit it while the server is running use /cbadmin reload
|
||||
# otherwise your settings will be lost.
|
||||
caveblock:
|
||||
command:
|
||||
# Cave Command. What command users will run to access their cave.
|
||||
|
Loading…
Reference in New Issue
Block a user