Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-20 05:20:07 +01:00
BlockStationary fix
Dieser Commit ist enthalten in:
Ursprung
bfca34cad4
Commit
332d9c4f18
@ -58,7 +58,7 @@ public class BlockStationary extends BlockFluids {
|
|||||||
if (j1 == 0) {
|
if (j1 == 0) {
|
||||||
if (this.j(world, i - 1, j, k) || this.j(world, i + 1, j, k) || this.j(world, i, j, k - 1) || this.j(world, i, j, k + 1) || this.j(world, i, j - 1, k) || this.j(world, i, j + 1, k)) {
|
if (this.j(world, i - 1, j, k) || this.j(world, i + 1, j, k) || this.j(world, i, j, k - 1) || this.j(world, i, j, k + 1) || this.j(world, i, j - 1, k) || this.j(world, i, j + 1, k)) {
|
||||||
// CraftBukkit start: prevent lava putting something on fire.
|
// CraftBukkit start: prevent lava putting something on fire.
|
||||||
org.bukkit.block.Block theBlock = cworld.getBlockAt(k, l, i1);
|
org.bukkit.block.Block theBlock = cworld.getBlockAt(i, j, k);
|
||||||
|
|
||||||
if (theBlock.getTypeId() != Block.FIRE.id){
|
if (theBlock.getTypeId() != Block.FIRE.id){
|
||||||
BlockIgniteEvent event = new BlockIgniteEvent(theBlock, igniteCause, thePlayer);
|
BlockIgniteEvent event = new BlockIgniteEvent(theBlock, igniteCause, thePlayer);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren