mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 02:46:41 +00:00
Finish removal of PlayerDirection, and partially added diagonal support back to commands. (Other minor changes to WorldEdit-Sponge and FAVS)
This commit is contained in:
committed by
IronApollo
parent
13bf8429ce
commit
f3c633582e
@ -81,11 +81,9 @@ public class PropertiesConfiguration extends LocalConfiguration {
|
||||
profile = getBool("profile", profile);
|
||||
|
||||
disallowedBlocks =
|
||||
new HashSet<>(getStringSet("limits.disallowed-blocks", defaultDisallowedBlocks))
|
||||
.stream().map(e -> BlockTypes.parse(e)).collect(Collectors.toSet());
|
||||
new HashSet<>(getStringSet("limits.disallowed-blocks", defaultDisallowedBlocks));
|
||||
allowedDataCycleBlocks =
|
||||
new HashSet<>(getStringSet("limits.allowed-data-cycle-blocks", null))
|
||||
.stream().map(e -> BlockTypes.parse(e)).collect(Collectors.toSet());
|
||||
new HashSet<>(getStringSet("limits.allowed-data-cycle-blocks", null));
|
||||
defaultChangeLimit = getInt("default-max-changed-blocks", defaultChangeLimit);
|
||||
maxChangeLimit = getInt("max-changed-blocks", maxChangeLimit);
|
||||
defaultMaxPolygonalPoints = getInt("default-max-polygon-points", defaultMaxPolygonalPoints);
|
||||
|
@ -81,11 +81,9 @@ public class YAMLConfiguration extends LocalConfiguration {
|
||||
butcherMaxRadius = Math.max(-1, config.getInt("limits.butcher-radius.maximum", butcherMaxRadius));
|
||||
|
||||
disallowedBlocks =
|
||||
new HashSet<>(config.getStringList("limits.disallowed-blocks", Lists.newArrayList(defaultDisallowedBlocks)))
|
||||
.stream().map(e -> BlockTypes.parse(e)).collect(Collectors.toSet());
|
||||
new HashSet<>(config.getStringList("limits.disallowed-blocks", Lists.newArrayList(defaultDisallowedBlocks)));
|
||||
allowedDataCycleBlocks =
|
||||
new HashSet<>(config.getStringList("limits.allowed-data-cycle-blocks", null))
|
||||
.stream().map(e -> BlockTypes.parse(e)).collect(Collectors.toSet());
|
||||
new HashSet<>(config.getStringList("limits.allowed-data-cycle-blocks", null));
|
||||
|
||||
registerHelp = config.getBoolean("register-help", true);
|
||||
logCommands = config.getBoolean("logging.log-commands", logCommands);
|
||||
|
Reference in New Issue
Block a user