Add World.save() and Server.savePlayers();

By: Morgan Humes <mrh9724@lanaddict.com>
This commit is contained in:
Bukkit/Spigot 2011-02-25 21:32:25 -05:00
parent 6410e49ab9
commit 56f58d646a
2 changed files with 10 additions and 0 deletions

View File

@ -130,4 +130,9 @@ public interface Server {
* @return PluginCommand if found, otherwise null
*/
public PluginCommand getPluginCommand(String name);
/**
* Writes loaded players to disk
*/
public void savePlayers();
}

View File

@ -405,4 +405,9 @@ public interface World {
*/
NETHER
}
/**
* Saves world to disk
*/
public void save();
}