mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Add a custom shutdown message set in bukkit.yml. Addresses BUKKIT-3031
This commit is contained in:
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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user