mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
Add meaningful default methods to getMask for region protection
This commit is contained in:
parent
d4eda78818
commit
857090bdde
@ -30,14 +30,14 @@ public abstract class FaweMaskManager {
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
public FaweMask getMask(final Player player, MaskType type) {
|
||||
return null;
|
||||
return getMask(player, type, true);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get a {@link FaweMask} for the given player and {@link MaskType}. If isWhitelist is false, will return a "blacklist" mask.
|
||||
*/
|
||||
public FaweMask getMask(final Player player, MaskType type, boolean isWhitelist) {
|
||||
return null;
|
||||
return getMask(player, type);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user