Removes DataObject reference in settings.

This commit is contained in:
tastybento 2019-05-07 21:40:21 -07:00 committed by tastybento
parent ac1ca2eee9
commit a503709325
1 changed files with 1 additions and 20 deletions

View File

@ -17,7 +17,6 @@ import world.bentobox.bentobox.api.configuration.ConfigEntry;
import world.bentobox.bentobox.api.configuration.StoreAt;
import world.bentobox.bentobox.api.configuration.WorldSettings;
import world.bentobox.bentobox.api.flags.Flag;
import world.bentobox.bentobox.database.objects.DataObject;
import world.bentobox.bentobox.database.objects.adapters.Adapter;
import world.bentobox.bentobox.database.objects.adapters.FlagSerializer;
import world.bentobox.bentobox.database.objects.adapters.FlagSerializer2;
@ -28,7 +27,7 @@ import world.bentobox.bentobox.database.objects.adapters.FlagSerializer2;
*/
@StoreAt(filename="config.yml", path="addons/BSkyBlock") // Explicitly call out what name this should have.
@ConfigComment("BSkyBlock Configuration [version]")
public class Settings implements DataObject, WorldSettings {
public class Settings implements WorldSettings {
/* Commands */
@ConfigComment("Island Command. What command users will run to access their island.")
@ -310,8 +309,6 @@ public class Settings implements DataObject, WorldSettings {
@ConfigEntry(path = "do-not-edit-these-settings.reset-epoch")
private long resetEpoch = 0;
private String uniqueId = "config";
/**
* @return the friendlyName
*/
@ -708,14 +705,6 @@ public class Settings implements DataObject, WorldSettings {
return resetEpoch;
}
/**
* @return the uniqueId
*/
@Override
public String getUniqueId() {
return uniqueId;
}
/**
* @param friendlyName the friendlyName to set
*/
@ -1068,14 +1057,6 @@ public class Settings implements DataObject, WorldSettings {
this.resetEpoch = resetEpoch;
}
/**
* @param uniqueId the uniqueId to set
*/
@Override
public void setUniqueId(String uniqueId) {
this.uniqueId = uniqueId;
}
@Override
public String getPermissionPrefix() {
return "bskyblock";