Fix Gate removal
This commit is contained in:
parent
8e92d0494c
commit
e4cad84af6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue