13
0
geforkt von Mirrors/Paper

Ctrl+C saves world before stopping

By: Dinnerbone <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2011-03-29 21:01:04 +01:00
Ursprung 6f8ecc04e5
Commit 44f7dca0de

Datei anzeigen

@ -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();
}
}