Expose the internal current tick

This commit is contained in:
William Blake Galbreath 2019-04-20 19:47:34 -05:00
parent ab02b04a98
commit 3084b4ce9b

View File

@ -2943,5 +2943,10 @@ public final class CraftServer implements Server {
profile.getGameProfile().getProperties().putAll(((CraftPlayer) player).getHandle().getGameProfile().getProperties());
return profile;
}
@Override
public int getCurrentTick() {
return net.minecraft.server.MinecraftServer.currentTick;
}
// Paper end
}