mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-02-17 04:41:40 +01:00
Fix JavaDoc for GameModeAddon inWorld method
This commit is contained in:
parent
02a14cab6e
commit
d92632341d
@ -52,9 +52,9 @@ public abstract class GameModeAddon extends Addon {
|
||||
public abstract WorldSettings getWorldSettings();
|
||||
|
||||
/**
|
||||
* Checks if a player is in any of the island worlds
|
||||
* @param loc - player to check
|
||||
* @return true if in a world or false if not
|
||||
* Checks if location is governed by this game mode
|
||||
* @param loc - location to check
|
||||
* @return true if location in covered by this addon or false if not
|
||||
*/
|
||||
public boolean inWorld(Location loc) {
|
||||
return Util.sameWorld(loc.getWorld(), islandWorld);
|
||||
@ -63,7 +63,7 @@ public abstract class GameModeAddon extends Addon {
|
||||
/**
|
||||
* Checks if world is governed by this game mode
|
||||
* @param world - world to check
|
||||
* @return true if in a world or false if not
|
||||
* @return true if world in covered by this addon or false if not
|
||||
* @since 1.2.0
|
||||
*/
|
||||
public boolean inWorld(World world) {
|
||||
|
Loading…
Reference in New Issue
Block a user