mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 11:44:19 +01:00
SPIGOT-1264: Spurious BlockFadeEvent
By: md_5 <git@md-5.net>
This commit is contained in:
parent
51742aae6c
commit
66392c6d78
1 changed files with 0 additions and 9 deletions
|
@ -94,15 +94,6 @@
|
|||
if (random.nextInt(j + 10) < 5 && !world.isRainingAt(blockposition)) {
|
||||
int l = j + random.nextInt(5) / 4;
|
||||
|
||||
@@ -219,7 +255,7 @@
|
||||
|
||||
world.setTypeAndData(blockposition, this.getBlockData().set(BlockFire.AGE, Integer.valueOf(l)), 3);
|
||||
} else {
|
||||
- world.setAir(blockposition);
|
||||
+ fireExtinguished(world, blockposition); // CraftBukkit
|
||||
}
|
||||
|
||||
if (iblockdata.getBlock() == Blocks.TNT) {
|
||||
@@ -276,7 +312,7 @@
|
||||
|
||||
public void a(IBlockData iblockdata, World world, BlockPosition blockposition, Block block) {
|
||||
|
|
Loading…
Reference in a new issue