We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
custom_consoles.yml
custom_desktops.yml
1 parent 22e8e31 commit a2899ccCopy full SHA for a2899cc
src/main/java/me/eccentric_nz/TARDIS/TARDIS.java
@@ -295,7 +295,8 @@ public void onEnable() {
295
}
296
// rename custom_consoles -> custom_desktops
297
File cc = new File(getDataFolder() + File.separator + "custom_desktops.yml");
298
- if (!cc.exists()) {
+ File cd = new File(getDataFolder() + File.separator + "custom_desktops.yml");
299
+ if (cc.exists() && !cd.exists()) {
300
Path source = Paths.get(getDataFolder() + File.separator + "custom_consoles.yml");
301
try {
302
Files.move(source, source.resolveSibling("custom_desktops.yml"));
0 commit comments