SPIGOT-5778: Added World.getGameTime method

By: Jakub Zacek <dawon.cz@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2021-02-13 10:25:52 +11:00
parent 2a0d4308e9
commit 849c37e463

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);