Fix #346 , minor hook changes

- Removed deprecated FaweMaskManager#getMask(Player)
- Removed deprecated constructor FaweMask(BlockVector3, BlockVector3)
This commit is contained in:
IronApollo
2020-02-26 10:17:11 -05:00
parent 12431e7b7a
commit d2bcc6dd35
7 changed files with 14 additions and 27 deletions

View File

@ -9,11 +9,6 @@ import com.sk89q.worldedit.regions.Region;
public class FaweMask implements IDelegateRegion {
private final Region region;
@Deprecated
public FaweMask(final BlockVector3 pos1, final BlockVector3 pos2) {
this(new CuboidRegion(pos1, pos2));
}
public FaweMask(Region region) {
this.region = region;
}

View File

@ -36,14 +36,7 @@ public abstract class FaweMaskManager {
return this.key;
}
@Deprecated
public FaweMask getMask(final Player player) {
return getMask(player, MaskType.getDefaultMaskType());
}
public FaweMask getMask(final Player player, MaskType type) {
return getMask(player);
}
public abstract FaweMask getMask(final Player player, MaskType type);
public boolean isValid(FaweMask mask) {
return true;