Add config option to allow symbolic links for files.

This commit is contained in:
Wizjany
2012-12-25 18:08:03 -05:00
parent a7b4913f6c
commit a54c7437fc
4 changed files with 9 additions and 2 deletions

View File

@ -93,6 +93,8 @@ public class YAMLConfiguration extends LocalConfiguration {
saveDir = config.getString("saving.dir", saveDir);
allowSymlinks = config.getBoolean("files.allow-symbolic-links", false);
disallowedBlocks = new HashSet<Integer>(config.getIntList("limits.disallowed-blocks", null));
allowedDataCycleBlocks = new HashSet<Integer>(config.getIntList("limits.allowed-data-cycle-blocks", null));