Archiviert
13
0

SPIGOT-1264: Spurious BlockFadeEvent

Dieser Commit ist enthalten in:
md_5 2016-06-30 14:47:05 +10:00
Ursprung 37d08c52ca
Commit 6470560480

Datei anzeigen

@ -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) {