SPIGOT-5778: Added World.getGameTime method

This commit is contained in:
Jakub Zacek 2021-02-13 10:25:52 +11:00 committed by md_5
parent a82b212973
commit 8aa6a953fe
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -812,6 +812,11 @@ public class CraftWorld implements World {
}
}
@Override
public long getGameTime() {
return world.worldData.getTime();
}
@Override
public boolean createExplosion(double x, double y, double z, float power) {
return createExplosion(x, y, z, power, false, true);