mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-26 01:32:02 -07:00
and some more
This commit is contained in:
@@ -54,12 +54,13 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,10 +_,10 @@
|
||||
@@ -90,10 +_,11 @@
|
||||
}
|
||||
|
||||
public void tick() {
|
||||
- this.gameTicks++;
|
||||
+ this.gameTicks = net.minecraft.server.MinecraftServer.currentTick; // CraftBukkit
|
||||
+ // this.gameTicks = net.minecraft.server.MinecraftServer.currentTick; // CraftBukkit
|
||||
+ this.gameTicks = (int) this.level.getLagCompensationTick(); // Paper - lag compensate eating
|
||||
if (this.hasDelayedDestroy) {
|
||||
- BlockState blockState = this.level.getBlockState(this.delayedDestroyPos);
|
||||
- if (blockState.isAir()) {
|
||||
|
Reference in New Issue
Block a user