Browse Source

Flammability Check for Oil and Gas Blocks will no longer load Chunks

Gregorius Techneticies 2 months ago
parent
commit
d05113883c
Signed by: Gregorius Techneticies <gregoriustech@gmail.com> GPG Key ID: 1B693EA14F2FD70F
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/main/java/gregapi/block/fluid/BlockBaseFluid.java

+ 2
- 2
src/main/java/gregapi/block/fluid/BlockBaseFluid.java View File

@@ -1,5 +1,5 @@
1 1
 /**
2
- * Copyright (c) 2020 GregTech-6 Team
2
+ * Copyright (c) 2021 GregTech-6 Team
3 3
  *
4 4
  * This file is part of GregTech.
5 5
  *
@@ -103,7 +103,7 @@ public class BlockBaseFluid extends BlockFluidFinite implements IBlock, IItemGT,
103 103
 	public void updateTick(World aWorld, int aX, int aY, int aZ, Random aRandom) {
104 104
 		// Flammability checks.
105 105
 		if (mFlammability > 0) for (byte tSide : ALL_SIDES_VALID) {
106
-			Block tBlock = WD.block(aWorld, aX, aY, aZ, tSide);
106
+			Block tBlock = WD.block(aWorld, aX, aY, aZ, tSide, F);
107 107
 			if (tBlock.getMaterial() == Material.lava || tBlock.getMaterial() == Material.fire) {
108 108
 				WD.burn(aWorld, aX, aY, aZ, T, F);
109 109
 				return;

Loading…
Cancel
Save