geforkt von Mirrors/Paper
Added a check for when the old and new data folders are the same.
By: sk89q <the.sk89q@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
97fd93727d
Commit
2427d3835e
@ -72,7 +72,9 @@ public final class JavaPluginLoader implements PluginLoader {
|
||||
File oldDataFolder = getDataFolder(file);
|
||||
|
||||
// Found old data folder
|
||||
if (dataFolder.isDirectory() && oldDataFolder.isDirectory()) {
|
||||
if (dataFolder.equals(oldDataFolder)) {
|
||||
// They are equal -- nothing needs to be done!
|
||||
} else if (dataFolder.isDirectory() && oldDataFolder.isDirectory()) {
|
||||
server.getLogger().log( Level.INFO, String.format(
|
||||
"While loading %s (%s) found old-data folder: %s next to the new one: %s",
|
||||
description.getName(),
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren