mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-04 14:04:49 +01:00
BlockStationary fix
This commit is contained in:
parent
bfca34cad4
commit
332d9c4f18
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue