Expose the internal current tick

This commit is contained in:
William Blake Galbreath
2019-04-20 19:47:29 -05:00
parent 2cee31307e
commit 9a251fbd95
2 changed files with 11 additions and 0 deletions

View File

@@ -2221,5 +2221,12 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi
*/
@NotNull
com.destroystokyo.paper.profile.PlayerProfile createProfileExact(@Nullable UUID uuid, @Nullable String name);
/**
* Get the current internal server tick
*
* @return Current tick
*/
int getCurrentTick();
// Paper end
}