Merge pull request #364 from mickare/patch-1

Fix region contain method
Dieser Commit ist enthalten in:
Matthew Miller 2018-08-18 20:33:53 +10:00 committet von GitHub
Commit dc39300af8
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -324,9 +324,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();