mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-11 20:13:55 +00:00
Fix #346 , minor hook changes
- Removed deprecated FaweMaskManager#getMask(Player) - Removed deprecated constructor FaweMask(BlockVector3, BlockVector3)
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user