Fix solegnolia having lower range than advertised. Closes #346

This commit is contained in:
Vincent Lee committed 2016-06-16 19:39:26 -05:00
1 parent 47ac6fc65a
commit 5f3951c7fa
1 file changed
+1 -1
@@ -49,7 +49,7 @@ public class SubTileSolegnolia extends SubTileFunctional {
.filter(f -> f.redstoneSignal == 0)
.filter(f -> f.supertile.getWorld() != e.worldObj)
.filter(f -> f.supertile.getWorld().getTileEntity(f.supertile.getPos()) == f.supertile)
.filter(f -> f.supertile.getDistanceSq(e.posX, e.posY, e.posZ) <= f.getRange())
.filter(f -> f.supertile.getDistanceSq(e.posX, e.posY, e.posZ) <= f.getRange() * f.getRange())
.findAny().isPresent();
}