Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
470f8613cd
Commit
39bff371a4
@ -117,7 +117,7 @@ public class Region {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean playerInRegion(Location location){
|
public boolean playerInRegion(Location location){
|
||||||
return in2dRegion(location) && minY <= location.getY() && location.getY() + 1.8 < maxY;
|
return in2dRegion(location) && minY <= location.getY() && location.getY() < maxY;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean in2dRegion(Block block){
|
public boolean in2dRegion(Block block){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren