One Last fix for BC Facdes :(
This commit is contained in:
parent
66a7e191a4
commit
86c096c357
1 changed files with 1 additions and 2 deletions
|
@ -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 )
|
||||||
|
|
Loading…
Reference in a new issue