mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Add World.save() and Server.savePlayers();
This commit is contained in:
parent
c383d1f385
commit
cb66f868b4
2 changed files with 10 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -405,4 +405,9 @@ public interface World {
|
|||
*/
|
||||
NETHER
|
||||
}
|
||||
|
||||
/**
|
||||
* Saves world to disk
|
||||
*/
|
||||
public void save();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue