Skip to content

Commit

Permalink
Revert "add restart mechanism"
Browse files Browse the repository at this point in the history
This reverts commit c91cbb7.
  • Loading branch information
mcmonkey4eva committed Dec 23, 2016
1 parent 67a7e21 commit a6c1d3d
Showing 1 changed file with 0 additions and 14 deletions.
Expand Up @@ -1167,20 +1167,6 @@ public static void adjustServer(Mechanism mechanism) {
System.gc();
}

// <--[mechanism]
// @object server
// @name restart
// @input None
// @description
// Will try to restart your server.
// If your server is not configured to restart, it will stop it.
// @tags
// None
// -->
if (mechanism.matches("restart")) {
Bukkit.getServer().restart();
}

if (!mechanism.fulfilled()) {
mechanism.reportInvalid();
}
Expand Down

0 comments on commit a6c1d3d

Please sign in to comment.