mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-02 21:17:00 +01:00
Fixed punching out fire in creative - this fixes BUKKIT-914, thanks to md-5
This commit is contained in:
parent
4ac8d68c39
commit
8016bf2dd0
1 changed files with 3 additions and 1 deletions
|
@ -99,7 +99,9 @@ public class ItemInWorldManager {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
if (!this.world.douseFire((EntityHuman) null, i, j, k, l)) {
|
||||||
this.breakBlock(i, j, k);
|
this.breakBlock(i, j, k);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.lastDigTick = (int) (System.currentTimeMillis() / 50); // CraftBukkit
|
this.lastDigTick = (int) (System.currentTimeMillis() / 50); // CraftBukkit
|
||||||
int i1 = this.world.getTypeId(i, j, k);
|
int i1 = this.world.getTypeId(i, j, k);
|
||||||
|
|
Loading…
Reference in a new issue