SPIGOT-997: Add restart API for server.

This commit is contained in:
md_5
2015-07-13 19:12:24 +10:00
parent a5da72e7fa
commit fc3e568b8d
3 changed files with 43 additions and 2 deletions

View File

@@ -68,8 +68,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
public final class CraftServer implements Server {
private static final Player[] EMPTY_PLAYER_ARRAY = new Player[0];
@@ -0,0 +0,0 @@ public final class CraftServer implements Server {
{
return org.spigotmc.SpigotConfig.config;
public void restart() {
org.spigotmc.RestartCommand.restart();
}
+
+ @Override