another convenience function overload, BorderData.insideBorder(Location)

This commit is contained in:
Brettflan 2011-06-07 13:17:46 -05:00
parent 7d0ba4bd9c
commit 331d5bae59

View File

@ -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)
{