One Last fix for BC Facdes :(

This commit is contained in:
AlgorithmX2 2014-05-04 19:39:29 -05:00
parent 66a7e191a4
commit 86c096c357

View file

@ -41,7 +41,6 @@ import appeng.api.util.DimensionalCoord;
import appeng.client.render.BusRenderHelper; import appeng.client.render.BusRenderHelper;
import appeng.client.render.CableRenderHelper; import appeng.client.render.CableRenderHelper;
import appeng.facade.FacadeContainer; import appeng.facade.FacadeContainer;
import appeng.facade.IFacadeItem;
import appeng.helpers.AEMultiTile; import appeng.helpers.AEMultiTile;
import appeng.me.GridConnection; import appeng.me.GridConnection;
import appeng.util.Platform; import appeng.util.Platform;
@ -141,7 +140,7 @@ public class CableBusContainer implements AEMultiTile, ICableBusContainer
@Override @Override
public boolean canAddPart(ItemStack is, ForgeDirection side) public boolean canAddPart(ItemStack is, ForgeDirection side)
{ {
if ( is.getItem() instanceof IFacadeItem ) if ( PartPlacement.isFacade( is, side ) != null )
return true; return true;
if ( is.getItem() instanceof IPartItem ) if ( is.getItem() instanceof IPartItem )