mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 09:17:36 +01:00
SPIGOT-3037: WorldBorder#isInside(Location)
By: md_5 <git@md-5.net>
This commit is contained in:
parent
86a1bf165c
commit
8abb2aa9e9
@ -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…
Reference in New Issue
Block a user