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){
|
public boolean inRegion(Region region, Location l){
|
||||||
return inRange(l.getX(), region.minX + offsetX, sizeX + offsetX) &&
|
return inRange(l.getX(), region.minX + offsetX, sizeX) &&
|
||||||
inRange(l.getY(), region.minY + offsetY, sizeY + offsetY) &&
|
inRange(l.getY(), region.minY + offsetY, sizeY) &&
|
||||||
inRange(l.getZ(), region.minZ + offsetZ, sizeZ + offsetZ);
|
inRange(l.getZ(), region.minZ + offsetZ, sizeZ);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void fastreset(Region region){
|
public void fastreset(Region region){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren