mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 01:31:29 +01:00
SPIGOT-5778: Added World.getGameTime method
By: Jakub Zacek <dawon.cz@gmail.com>
This commit is contained in:
parent
2a0d4308e9
commit
849c37e463
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user