mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2024-12-29 12:37:46 +01:00
Removed deprecation of RegionManager.getApplicableRegions.
The underlying functionality has since been implemented. Also: woo, no more warnings
This commit is contained in:
parent
a0d27c6f86
commit
875b9f326c
@ -27,6 +27,7 @@
|
|||||||
import com.sk89q.worldguard.bukkit.WorldGuardPlugin;
|
import com.sk89q.worldguard.bukkit.WorldGuardPlugin;
|
||||||
|
|
||||||
public class ProtectionCommands {
|
public class ProtectionCommands {
|
||||||
|
@SuppressWarnings("unused")
|
||||||
private final WorldGuardPlugin plugin;
|
private final WorldGuardPlugin plugin;
|
||||||
|
|
||||||
public ProtectionCommands(WorldGuardPlugin plugin) {
|
public ProtectionCommands(WorldGuardPlugin plugin) {
|
||||||
|
@ -140,11 +140,9 @@ public ApplicableRegionSet getApplicableRegions(org.bukkit.Location loc) {
|
|||||||
* Get an object for a point for rules to be applied with. This gets
|
* Get an object for a point for rules to be applied with. This gets
|
||||||
* a set for the given reason.
|
* a set for the given reason.
|
||||||
*
|
*
|
||||||
* @deprecated not yet fully supported
|
|
||||||
* @param region region
|
* @param region region
|
||||||
* @return regino set
|
* @return regino set
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public abstract ApplicableRegionSet getApplicableRegions(
|
public abstract ApplicableRegionSet getApplicableRegions(
|
||||||
ProtectedRegion region);
|
ProtectedRegion region);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user