From 5df39f55f8f737dd072b9d3bf81d351183c32cb5 Mon Sep 17 00:00:00 2001 From: LemADEC Date: Thu, 16 Jun 2016 01:32:05 +0200 Subject: [PATCH] Fixed single sided projector computation --- .../block/forcefield/TileEntityForceFieldProjector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cr0s/warpdrive/block/forcefield/TileEntityForceFieldProjector.java b/src/main/java/cr0s/warpdrive/block/forcefield/TileEntityForceFieldProjector.java index 0938960e..0d63c985 100644 --- a/src/main/java/cr0s/warpdrive/block/forcefield/TileEntityForceFieldProjector.java +++ b/src/main/java/cr0s/warpdrive/block/forcefield/TileEntityForceFieldProjector.java @@ -527,7 +527,7 @@ public class TileEntityForceFieldProjector extends TileEntityAbstractForceField // compute interior fields to remove overlapping parts for (Map.Entry entry : forceFieldSetup.shapeProvider.getVertexes(forceFieldSetup).entrySet()) { VectorI vPosition = entry.getKey(); - if (forceFieldSetup.isDoubleSided || vPosition.y >= yCoord) { + if (forceFieldSetup.isDoubleSided || vPosition.y >= 0) { if ((forceFieldSetup.rotationYaw != 0) || (forceFieldSetup.rotationPitch != 0)) { vPosition.rotateByAngle(forceFieldSetup.rotationYaw, forceFieldSetup.rotationPitch); }