mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-06 23:22:10 -07:00
Add World.save() and Server.savePlayers();
By: Morgan Humes <mrh9724@lanaddict.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user