mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 05:02:39 +00:00
Change fluid registration to standard
This commit is contained in:
1 parent
d35d9d0740
commit
abd213038f
4 files changed
+125
-98
No files matched your search
@@ -13,6 +13,7 @@ import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.classloading.FMLForgePlugin;
|
||||
import scala.compat.Platform$;
|
||||
import tconstruct.TConstruct;
|
||||
import tconstruct.common.TContent;
|
||||
import tconstruct.library.util.CoordTuple;
|
||||
import tconstruct.library.util.CoordTupleSort;
|
||||
import tconstruct.library.util.IFacingLogic;
|
||||
@@ -197,7 +198,7 @@ public class TankLayerScan extends LogicComponent
|
||||
protected boolean checkAir (int x, int y, int z)
|
||||
{
|
||||
Block block = Block.blocksList[world.getBlockId(x, y, z)];
|
||||
if (block == null || block.isAirBlock(world, x, y, z))// || block == Block.glass)
|
||||
if (block == null || block.isAirBlock(world, x, y, z))// || block == TContent.tankAir)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user