Removed dependency to Craftbukkit and Spigot server code.

This breaks whitelist and onlinemode toggle.
This commit is contained in:
StevenLawson
2017-07-25 21:07:22 -04:00
parent e16714ea6c
commit 655d7471dc
6 changed files with 106 additions and 109 deletions

View File

@ -55,7 +55,8 @@ public class ServerPing extends FreedomService
return;
}
String baseMotd = ConfigEntry.SERVER_MOTD.getString().replace("%mcversion%", plugin.si.getVersion());
// String baseMotd = ConfigEntry.SERVER_MOTD.getString().replace("%mcversion%", plugin.si.getVersion());
String baseMotd = ConfigEntry.SERVER_MOTD.getString();
baseMotd = baseMotd.replace("\\n", "\n");
baseMotd = FUtil.colorize(baseMotd);