Merge pull request 'Fixing region size' (#166) from fix-region into master
Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Commit
525e74ad0f
@ -140,9 +140,9 @@ public class Region {
|
||||
}
|
||||
|
||||
public boolean inRegion(Region region, Location l){
|
||||
return inRange(l.getX(), region.minX + offsetX, sizeX + offsetX) &&
|
||||
inRange(l.getY(), region.minY + offsetY, sizeY + offsetY) &&
|
||||
inRange(l.getZ(), region.minZ + offsetZ, sizeZ + offsetZ);
|
||||
return inRange(l.getX(), region.minX + offsetX, sizeX) &&
|
||||
inRange(l.getY(), region.minY + offsetY, sizeY) &&
|
||||
inRange(l.getZ(), region.minZ + offsetZ, sizeZ);
|
||||
}
|
||||
|
||||
public void fastreset(Region region){
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren