Removed deprecation of RegionManager.getApplicableRegions.

The underlying functionality has since been implemented.
Also: woo, no more warnings
This commit is contained in:
TomyLobo 2011-12-05 06:03:52 +01:00
parent a0d27c6f86
commit 875b9f326c
2 changed files with 1 additions and 2 deletions

View File

@ -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) {

View File

@ -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);