mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-08-10 14:33:08 +00:00
Fixing all broken references
This commit is contained in:
parent
ebe80350dc
commit
f6de97a512
21 changed files with 80 additions and 189 deletions
|
@ -256,19 +256,19 @@ public class DebugUUID extends SubCommand {
|
|||
}
|
||||
|
||||
if (newWrapper instanceof OfflineUUIDWrapper) {
|
||||
PlotSquared.config.set("UUID.force-lowercase", false);
|
||||
PlotSquared.config.set("UUID.offline", true);
|
||||
PlotSquared.getInstance().config.set("UUID.force-lowercase", false);
|
||||
PlotSquared.getInstance().config.set("UUID.offline", true);
|
||||
}
|
||||
else if (newWrapper instanceof LowerOfflineUUIDWrapper) {
|
||||
PlotSquared.config.set("UUID.force-lowercase", true);
|
||||
PlotSquared.config.set("UUID.offline", true);
|
||||
PlotSquared.getInstance().config.set("UUID.force-lowercase", true);
|
||||
PlotSquared.getInstance().config.set("UUID.offline", true);
|
||||
}
|
||||
else if (newWrapper instanceof DefaultUUIDWrapper) {
|
||||
PlotSquared.config.set("UUID.force-lowercase", false);
|
||||
PlotSquared.config.set("UUID.offline", false);
|
||||
PlotSquared.getInstance().config.set("UUID.force-lowercase", false);
|
||||
PlotSquared.getInstance().config.set("UUID.offline", false);
|
||||
}
|
||||
try {
|
||||
PlotSquared.config.save(PlotSquared.configFile);
|
||||
PlotSquared.getInstance().config.save(PlotSquared.getInstance().configFile);
|
||||
}
|
||||
catch (Exception e) {
|
||||
MainUtil.sendConsoleMessage("Could not save configuration. It will need to be manuall set!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue