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

@@ -2552,6 +2552,10 @@ public final class Bukkit {
public static com.destroystokyo.paper.profile.PlayerProfile createProfileExact(@Nullable UUID uuid, @Nullable String name) {
return server.createProfileExact(uuid, name);
}
public static int getCurrentTick() {
return server.getCurrentTick();
}
// Paper end
@NotNull