mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-12-01 04:49:44 -05:00
Separate Methods
This commit is contained in:
1 parent
318bd9c5e7
commit
fa3345f4aa
1 file changed
+5
-2
@@ -120,7 +120,11 @@ public class Storage {
|
||||
RELOAD_DONE = (String) CONFIGURATION.getOrSet("reload.done", "&aSuccessfully reloaded all configuration files!");
|
||||
}
|
||||
|
||||
public static void save() {
|
||||
public static void saveStorage() {
|
||||
STORAGE.setAndSave("commands", BLOCKED_COMMANDS_LIST);
|
||||
}
|
||||
|
||||
public static void saveConfiguration() {
|
||||
CONFIGURATION
|
||||
.set("updater.enabled", UPDATE_ENABLED)
|
||||
.set("updater.period", UPDATE_PERIOD)
|
||||
@@ -174,7 +178,6 @@ public class Storage {
|
||||
.set("handle-through-bungeecord.message", BUNGEECORD_MESSAGE);
|
||||
}
|
||||
|
||||
STORAGE.setAndSave("commands", BLOCKED_COMMANDS_LIST);
|
||||
CONFIGURATION.save();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user