Allow placement of Facades over Plugs

This commit is contained in:
CovertJaguar 2013-11-28 03:03:11 -08:00
parent 229063500b
commit 1527c313cd

View file

@ -786,7 +786,7 @@ public class BlockGenericPipe extends BlockBuildCraft {
return true;
}
}
if (rayTraceResult != null && (rayTraceResult.hitPart == Part.Pipe || rayTraceResult.hitPart == Part.Gate)) {
if (rayTraceResult != null && (rayTraceResult.hitPart != Part.Facade)) {
if (addFacade(player, pipe, rayTraceResult.sideHit != null && rayTraceResult.sideHit != ForgeDirection.UNKNOWN ? rayTraceResult.sideHit : side))
return true;
}