mirror of
https://github.com/Brettflan/WorldBorder.git
synced 2024-11-26 20:15:38 +01:00
another convenience function overload, BorderData.insideBorder(Location)
This commit is contained in:
parent
7d0ba4bd9c
commit
331d5bae59
@ -127,6 +127,10 @@ public class BorderData
|
||||
{
|
||||
return insideBorder(xLoc, zLoc, Config.ShapeRound());
|
||||
}
|
||||
public boolean insideBorder(Location loc)
|
||||
{
|
||||
return insideBorder(loc.getX(), loc.getZ(), Config.ShapeRound());
|
||||
}
|
||||
|
||||
public Location correctedPosition(Location loc, boolean round)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user