mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
commit
dc39300af8
@ -324,9 +324,9 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean contains(Vector position) {
|
public boolean contains(Vector position) {
|
||||||
double x = position.getX();
|
int x = position.getBlockX();
|
||||||
double y = position.getY();
|
int y = position.getBlockY();
|
||||||
double z = position.getZ();
|
int z = position.getBlockZ();
|
||||||
|
|
||||||
Vector min = getMinimumPoint();
|
Vector min = getMinimumPoint();
|
||||||
Vector max = getMaximumPoint();
|
Vector max = getMaximumPoint();
|
||||||
|
Loading…
Reference in New Issue
Block a user