3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-30 01:50:08 +01:00

Fixed punching out fire in creative - this fixes BUKKIT-914, thanks to md-5

Dieser Commit ist enthalten in:
Nathan Adams 2012-03-02 19:55:41 +00:00
Ursprung 4ac8d68c39
Commit 8016bf2dd0

Datei anzeigen

@ -99,7 +99,9 @@ public class ItemInWorldManager {
return; return;
} }
// CraftBukkit end // CraftBukkit end
this.breakBlock(i, j, k); if (!this.world.douseFire((EntityHuman) null, i, j, k, l)) {
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);