Warn about removal of ability to load plugins with spaces in Minecraft 1.12

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2017-04-21 17:23:49 +10:00
parent 75201d066c
commit 816701f233

View file

@ -137,7 +137,7 @@ public final class SimplePluginManager implements PluginManager {
continue;
} else if (description.rawName.indexOf(' ') != -1) {
server.getLogger().warning(String.format(
"Plugin `%s' uses the space-character (0x20) in its name `%s' - this is discouraged",
"Plugin `%s' uses the space-character (0x20) in its name `%s' - this will not work in Minecraft 1.12",
description.getFullName(),
description.rawName
));