mirror of
https://github.com/unmojang/OnlineModeFix.git
synced 2025-09-09 07:19:01 -04:00
Changed "motd" to "serverlist-motd" due to a clash with classic.
This commit is contained in:
parent
35ba3c3d44
commit
cd919f4a76
@ -1,5 +1,5 @@
|
||||
name: gg.codie.mineonline.plugin.bukkit.MineOnlineBroadcast
|
||||
version: 1.0.10
|
||||
version: 1.0.11
|
||||
description: Lists a server on mineonline.codie.gg/servers
|
||||
author: codieradical
|
||||
authors: [Codie]
|
||||
|
@ -175,7 +175,7 @@ public class MineOnlineBroadcastPlugin extends JavaPlugin {
|
||||
String md5 = propertiesFile.getProperty("version-md5", "");
|
||||
boolean whitelisted = propertiesFile.getProperty("whitelist", "false").equals("true");
|
||||
boolean dontListPlayers = propertiesFile.getProperty("dont-list-players", "false").equals("true");
|
||||
String motd = propertiesFile.getProperty("motd", null);
|
||||
String motd = propertiesFile.getProperty("serverlist-motd", null);
|
||||
|
||||
String[] playerNames = Arrays.stream(getServer().getOnlinePlayers()).map(Player::getName).collect(Collectors.toList()).toArray(new String[users]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user