geforkt von Mirrors/Paper
Remove ability to load plugins with spaces in their name.
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
32f414ff58
Commit
05d2efaa86
@ -136,11 +136,8 @@ public final class SimplePluginManager implements PluginManager {
|
||||
server.getLogger().log(Level.SEVERE, "Could not load '" + file.getPath() + "' in folder '" + directory.getPath() + "': Restricted Name");
|
||||
continue;
|
||||
} else if (description.rawName.indexOf(' ') != -1) {
|
||||
server.getLogger().warning(String.format(
|
||||
"Plugin `%s' uses the space-character (0x20) in its name `%s' - this will not work in Minecraft 1.12",
|
||||
description.getFullName(),
|
||||
description.rawName
|
||||
));
|
||||
server.getLogger().log(Level.SEVERE, "Could not load '" + file.getPath() + "' in folder '" + directory.getPath() + "': uses the space-character (0x20) in its name");
|
||||
continue;
|
||||
}
|
||||
} catch (InvalidDescriptionException ex) {
|
||||
server.getLogger().log(Level.SEVERE, "Could not load '" + file.getPath() + "' in folder '" + directory.getPath() + "'", ex);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren