Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2025-01-12 02:20:51 +01:00
Add meaningful default methods to getMask for region protection
Dieser Commit ist enthalten in:
Ursprung
d4eda78818
Commit
857090bdde
@ -30,14 +30,14 @@ public abstract class FaweMaskManager {
|
|||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true)
|
@Deprecated(forRemoval = true)
|
||||||
public FaweMask getMask(final Player player, MaskType type) {
|
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.
|
* 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) {
|
public FaweMask getMask(final Player player, MaskType type, boolean isWhitelist) {
|
||||||
return null;
|
return getMask(player, type);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren