Permalink
Browse files

Merge pull request #364 from mickare/patch-1

Fix region contain method
  • Loading branch information...
me4502 committed Aug 18, 2018
2 parents bc56091 + 6c65a8a commit dc39300af8b6113336f5aeecf7ce932deb20afce
Showing with 3 additions and 3 deletions.
  1. +3 −3 worldedit-core/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java
@@ -324,9 +324,9 @@ public void shift(Vector change) throws RegionOperationException {
@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();

0 comments on commit dc39300

Please sign in to comment.