mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2025-01-05 18:47:33 +01:00
Removes DataObject reference in settings.
This commit is contained in:
parent
400ceef9de
commit
b94aff5e73
@ -17,7 +17,6 @@ import world.bentobox.bentobox.api.configuration.ConfigEntry;
|
|||||||
import world.bentobox.bentobox.api.configuration.StoreAt;
|
import world.bentobox.bentobox.api.configuration.StoreAt;
|
||||||
import world.bentobox.bentobox.api.configuration.WorldSettings;
|
import world.bentobox.bentobox.api.configuration.WorldSettings;
|
||||||
import world.bentobox.bentobox.api.flags.Flag;
|
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.Adapter;
|
||||||
import world.bentobox.bentobox.database.objects.adapters.FlagSerializer;
|
import world.bentobox.bentobox.database.objects.adapters.FlagSerializer;
|
||||||
import world.bentobox.bentobox.database.objects.adapters.FlagSerializer2;
|
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.
|
@StoreAt(filename="config.yml", path="addons/BSkyBlock") // Explicitly call out what name this should have.
|
||||||
@ConfigComment("BSkyBlock Configuration [version]")
|
@ConfigComment("BSkyBlock Configuration [version]")
|
||||||
public class Settings implements DataObject, WorldSettings {
|
public class Settings implements WorldSettings {
|
||||||
|
|
||||||
/* Commands */
|
/* Commands */
|
||||||
@ConfigComment("Island Command. What command users will run to access their island.")
|
@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")
|
@ConfigEntry(path = "do-not-edit-these-settings.reset-epoch")
|
||||||
private long resetEpoch = 0;
|
private long resetEpoch = 0;
|
||||||
|
|
||||||
private String uniqueId = "config";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the friendlyName
|
* @return the friendlyName
|
||||||
*/
|
*/
|
||||||
@ -708,14 +705,6 @@ public class Settings implements DataObject, WorldSettings {
|
|||||||
return resetEpoch;
|
return resetEpoch;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the uniqueId
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public String getUniqueId() {
|
|
||||||
return uniqueId;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param friendlyName the friendlyName to set
|
* @param friendlyName the friendlyName to set
|
||||||
*/
|
*/
|
||||||
@ -1068,14 +1057,6 @@ public class Settings implements DataObject, WorldSettings {
|
|||||||
this.resetEpoch = resetEpoch;
|
this.resetEpoch = resetEpoch;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param uniqueId the uniqueId to set
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public void setUniqueId(String uniqueId) {
|
|
||||||
this.uniqueId = uniqueId;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPermissionPrefix() {
|
public String getPermissionPrefix() {
|
||||||
return "bskyblock";
|
return "bskyblock";
|
||||||
|
Loading…
Reference in New Issue
Block a user