mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-10 13:49:11 +01:00
Add World.save() and Server.savePlayers();
By: Morgan Humes <mrh9724@lanaddict.com>
This commit is contained in:
parent
6410e49ab9
commit
56f58d646a
@ -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…
Reference in New Issue
Block a user