Fix region contains

This commit is contained in:
Jesse Boyd 2016-09-18 23:55:10 +10:00
parent 2d67aa5b9d
commit 87e03f835c

View File

@ -334,9 +334,9 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion {
@Override
public boolean contains(Vector position) {
double x = position.getX();
double y = position.getY();
double z = position.getZ();
int x = position.getBlockX();
int y = position.getBlockY();
int z = position.getBlockZ();
Vector min = getMinimumPoint();
Vector max = getMaximumPoint();