mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
SPIGOT-7540, #946: Add ServerTickManager API
By: Miles Holder <mwholder2005@gmail.com>
This commit is contained in:
@@ -280,6 +280,16 @@ public final class Bukkit {
|
||||
return server.getDataPackManager();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the ServerTick Manager.
|
||||
*
|
||||
* @return the manager
|
||||
*/
|
||||
@NotNull
|
||||
public static ServerTickManager getServerTickManager() {
|
||||
return server.getServerTickManager();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the server resource pack uri, or empty string if not specified.
|
||||
*
|
||||
|
Reference in New Issue
Block a user