mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Whitespace + general cleanup
This commit is contained in:
@@ -41,7 +41,7 @@ public class BlockStationary extends BlockFluids {
|
||||
if (this.material == Material.LAVA) {
|
||||
int l = random.nextInt(3);
|
||||
|
||||
// CraftBukkit start: prevent lava putting something on fire.
|
||||
// CraftBukkit start - prevent lava putting something on fire.
|
||||
Server server = ((WorldServer) world).getServer();
|
||||
CraftWorld cworld = ((WorldServer) world).getWorld();
|
||||
|
||||
@@ -57,7 +57,7 @@ public class BlockStationary extends BlockFluids {
|
||||
|
||||
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)) {
|
||||
// CraftBukkit start: prevent lava putting something on fire.
|
||||
// CraftBukkit start - prevent lava putting something on fire.
|
||||
org.bukkit.block.Block theBlock = cworld.getBlockAt(i, j, k);
|
||||
|
||||
if (theBlock.getTypeId() != Block.FIRE.id) {
|
||||
|
Reference in New Issue
Block a user