Fix Gate removal

This commit is contained in:
CovertJaguar 2013-10-15 14:33:11 -07:00
parent 8e92d0494c
commit e4cad84af6

View file

@ -691,7 +691,7 @@ public class BlockGenericPipe extends BlockContainer {
return true;
if (player.isSneaking()) {
RaytraceResult rayTraceResult = doRayTrace(world, x, y, z, player);
if (rayTraceResult != null && rayTraceResult.hitPart == Part.Facade) {
if (rayTraceResult != null && rayTraceResult.hitPart == Part.Gate) {
if (stripGate(pipe))
return true;
}