Merge pull request #655 from kouteiheika/master

Bulletproof the Box class against accidental world corruption and bugs.

-Don't really understand, but merged anyway.
This commit is contained in:
CovertJaguar 2013-04-16 23:10:13 -07:00
commit 97ce3ff98a

View file

@ -58,7 +58,8 @@ public class Box implements IBox {
this.xMax = xMax;
this.yMax = yMax;
this.zMax = zMax;
initialized = true;
initialized = !(xMin == Integer.MAX_VALUE || yMin == Integer.MAX_VALUE || zMin == Integer.MAX_VALUE || xMax == Integer.MAX_VALUE ||
yMax == Integer.MAX_VALUE || zMax == Integer.MAX_VALUE );
}
public void initialize(Box box) {