geforkt von Mirrors/Paper
Ctrl+C saves world before stopping
By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Ursprung
6f8ecc04e5
Commit
44f7dca0de
@ -0,0 +1,17 @@
|
||||
|
||||
package org.bukkit.craftbukkit.util;
|
||||
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
|
||||
public class ServerShutdownThread extends Thread {
|
||||
private final MinecraftServer server;
|
||||
|
||||
public ServerShutdownThread(MinecraftServer server) {
|
||||
this.server = server;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
server.g();
|
||||
}
|
||||
}
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren