mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Whitespace + general cleanup
This commit is contained in:
1 parent
e54d8c3352
commit
309846d732
87 files changed
+474
-421
No files matched your search
@@ -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