Fix multipart checking with Qlib, initial fix of checkOcclusion

This commit is contained in:
modmuss50 2015-04-25 07:38:00 +01:00
parent 083c24c901
commit 60141026ec
5 changed files with 28 additions and 28 deletions

View file

@ -27,7 +27,7 @@ public class ModPartUtils {
public static boolean checkOcclusion(World world, int x, int y, int z,
Vecs3dCube cube) {
return checkOcclusion(world, new Location(x, y, z), cube);
return !checkOcclusion(world, new Location(x, y, z), cube);
}
public static boolean checkOcclusionInvert(World world, Location location,