Add a custom shutdown message set in bukkit.yml. Addresses BUKKIT-3031

This commit is contained in:
feildmaster committed 2012-12-05 06:07:10 -06:00
1 parent 320712aba7
commit fb6d9e1808
4 files changed
+12 -4

No files matched your search

@@ -824,7 +824,7 @@ public abstract class ServerConfigurationManagerAbstract {
public void r() {
while (!this.players.isEmpty()) {
((EntityPlayer) this.players.get(0)).netServerHandler.disconnect("Server closed");
((EntityPlayer) this.players.get(0)).netServerHandler.disconnect(this.server.server.getShutdownMessage()); // CraftBukkit - add custom shutdown message
}
}
}