Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
SPIGOT-1264: Spurious BlockFadeEvent
Dieser Commit ist enthalten in:
Ursprung
37d08c52ca
Commit
6470560480
@ -94,15 +94,6 @@
|
|||||||
if (random.nextInt(j + 10) < 5 && !world.isRainingAt(blockposition)) {
|
if (random.nextInt(j + 10) < 5 && !world.isRainingAt(blockposition)) {
|
||||||
int l = j + random.nextInt(5) / 4;
|
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 @@
|
@@ -276,7 +312,7 @@
|
||||||
|
|
||||||
public void a(IBlockData iblockdata, World world, BlockPosition blockposition, Block block) {
|
public void a(IBlockData iblockdata, World world, BlockPosition blockposition, Block block) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren