mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-11-03 01:19:42 +01:00
Update Javadocs in RegionContainer.
This commit is contained in:
parent
bf8ef39871
commit
7e25de38da
@ -20,12 +20,10 @@
|
|||||||
package com.sk89q.worldguard.bukkit;
|
package com.sk89q.worldguard.bukkit;
|
||||||
|
|
||||||
import com.sk89q.worldedit.Vector2D;
|
import com.sk89q.worldedit.Vector2D;
|
||||||
import com.sk89q.worldguard.LocalPlayer;
|
|
||||||
import com.sk89q.worldguard.protection.managers.RegionManager;
|
import com.sk89q.worldguard.protection.managers.RegionManager;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Chunk;
|
import org.bukkit.Chunk;
|
||||||
import org.bukkit.World;
|
import org.bukkit.World;
|
||||||
import org.bukkit.entity.Player;
|
|
||||||
import org.bukkit.event.EventHandler;
|
import org.bukkit.event.EventHandler;
|
||||||
import org.bukkit.event.Listener;
|
import org.bukkit.event.Listener;
|
||||||
import org.bukkit.event.world.ChunkLoadEvent;
|
import org.bukkit.event.world.ChunkLoadEvent;
|
||||||
@ -198,13 +196,12 @@ void unload(World world) {
|
|||||||
/**
|
/**
|
||||||
* Get the region manager for a world if one exists.
|
* Get the region manager for a world if one exists.
|
||||||
*
|
*
|
||||||
|
* <p>If you wish to make queries and performance is more important
|
||||||
|
* than accuracy, use {@link #createQuery()} instead.</p>
|
||||||
|
*
|
||||||
* <p>This method may return {@code null} if region data for the given
|
* <p>This method may return {@code null} if region data for the given
|
||||||
* world has not been loaded, has failed to load, or support for regions
|
* world has not been loaded, has failed to load, or support for regions
|
||||||
* has been disabled. If you merely want to query flags or a list of
|
* has been disabled.</p>
|
||||||
* regions in a position, using {@link #createQuery(Player)} is much
|
|
||||||
* simpler and it will handle the case of a {@code null}
|
|
||||||
* {@code RegionManager}. That said, if you wish to make changes to
|
|
||||||
* regions, then you will have to get a region manager.</p>
|
|
||||||
*
|
*
|
||||||
* @param world the world
|
* @param world the world
|
||||||
* @return a region manager, or {@code null} if one is not available
|
* @return a region manager, or {@code null} if one is not available
|
||||||
|
Loading…
Reference in New Issue
Block a user