Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Merge pull request #364 from mickare/patch-1
Fix region contain method
Dieser Commit ist enthalten in:
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();
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren