mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-5778: Added World.getGameTime method
By: Jakub Zacek <dawon.cz@gmail.com>
This commit is contained in:
parent
2a0d4308e9
commit
849c37e463
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue