mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-12 20:43:54 +00:00
Comments
This commit is contained in:
@ -127,7 +127,7 @@ public class Settings extends Config {
|
||||
public String MODE = "MEMBER";
|
||||
@Comment({
|
||||
"Allow region blacklists.",
|
||||
" - Currently only implemented for WorldGuard ",
|
||||
" - Currently only implemented for WorldGuard",
|
||||
" - see region-restrictions-options.worldguard-region-blacklist"
|
||||
})
|
||||
public boolean ALLOW_BLACKLISTS = false;
|
||||
|
@ -83,7 +83,7 @@ public class ProvideBindings extends Bindings {
|
||||
return regions(player, FaweMaskManager.MaskType.MEMBER);
|
||||
}
|
||||
|
||||
public Region[] regions(Player player, FaweMaskManager.MaskType type) {
|
||||
private Region[] regions(Player player, FaweMaskManager.MaskType type) {
|
||||
Region[] regions = player.getAllowedRegions(type);
|
||||
if (regions == null) {
|
||||
throw new IllegalArgumentException(Caption.toString(Caption.of("fawe.error.no.region")));
|
||||
|
@ -6,7 +6,9 @@ import com.fastasyncworldedit.core.extent.processor.ProcessorScope;
|
||||
import com.sk89q.jnbt.CompoundTag;
|
||||
import com.sk89q.worldedit.WorldEdit;
|
||||
import com.sk89q.worldedit.extent.Extent;
|
||||
import com.sk89q.worldedit.internal.util.LogManagerCompat;
|
||||
import com.sk89q.worldedit.math.BlockVector3;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
import java.util.Map;
|
||||
|
Reference in New Issue
Block a user