From a0538393984f8a699ac84015b006bfc1468e093a Mon Sep 17 00:00:00 2001 From: DarkGuardsman Date: Mon, 29 Jul 2013 03:51:23 -0400 Subject: [PATCH] Levers can be placed on starter pumps --- .../dark/fluid/common/pump/BlockPumpMachine.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/minecraft/dark/fluid/common/pump/BlockPumpMachine.java b/src/minecraft/dark/fluid/common/pump/BlockPumpMachine.java index 6b09f9e01..489e9a1c6 100644 --- a/src/minecraft/dark/fluid/common/pump/BlockPumpMachine.java +++ b/src/minecraft/dark/fluid/common/pump/BlockPumpMachine.java @@ -4,14 +4,11 @@ import java.util.List; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; -import net.minecraft.entity.EntityLivingBase; -import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.tileentity.TileEntity; -import net.minecraft.util.MathHelper; import net.minecraft.util.MovingObjectPosition; import net.minecraft.world.World; -import dark.core.helpers.MetaGroup; +import net.minecraftforge.common.ForgeDirection; import dark.fluid.client.render.BlockRenderHelper; import dark.fluid.common.BlockFM; import dark.fluid.common.FluidMech; @@ -50,6 +47,12 @@ public class BlockPumpMachine extends BlockFM return 0; } + @Override + public boolean isBlockSolidOnSide(World world, int x, int y, int z, ForgeDirection side) + { + return side != ForgeDirection.DOWN; + } + @Override public ItemStack getPickBlock(MovingObjectPosition target, World world, int x, int y, int z) {