Slight improvements to server shutdown

This commit is contained in:
ceikry
2021-07-24 14:30:09 -05:00
parent c2e7358522
commit 7557cfb4ca
2 changed files with 3 additions and 2 deletions
@@ -35,6 +35,7 @@ public final class SystemTermination {
public void terminate() {
SystemLogger.logInfo("[SystemTerminator] Initializing termination sequence - do not shutdown!");
try {
Server.setRunning(false);
for(Player player : Repository.getPlayers()){
DMCHandler dmc = player.getAttribute("dmc",null);
if(dmc != null){