mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
SPIGOT-3037: WorldBorder#isInside(Location)
This commit is contained in:
parent
6d587044c2
commit
50702e72bc
1 changed files with 8 additions and 0 deletions
|
@ -106,4 +106,12 @@ public interface WorldBorder {
|
|||
* @param distance The distance in blocks. (The default is 5 blocks.)
|
||||
*/
|
||||
public void setWarningDistance(int distance);
|
||||
|
||||
/**
|
||||
* Check if the specified location is inside this border.
|
||||
*
|
||||
* @param location the location to check
|
||||
* @return if this location is inside the border or not
|
||||
*/
|
||||
public boolean isInside(Location location);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue