mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 12:11:47 +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;
|
||||
}
|
||||
// CraftBukkit end
|
||||
this.breakBlock(i, j, k);
|
||||
if (!this.world.douseFire((EntityHuman) null, i, j, k, l)) {
|
||||
this.breakBlock(i, j, k);
|
||||
}
|
||||
} else {
|
||||
this.lastDigTick = (int) (System.currentTimeMillis() / 50); // CraftBukkit
|
||||
int i1 = this.world.getTypeId(i, j, k);
|
||||
|
|
Loading…
Reference in a new issue