mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-01 02:46:41 +00:00
Added default radius setting for butcher and added permissions for killing pets, npcs, and non hostile animals.
This commit is contained in:
committed by
SpectralEdge
parent
8aabfb0c67
commit
94619e3fe4
@ -95,6 +95,7 @@ public class PropertiesConfiguration extends LocalConfiguration {
|
||||
navigationWand = getInt("nav-wand-item", navigationWand);
|
||||
navigationWandMaxDistance = getInt("nav-wand-distance", navigationWandMaxDistance);
|
||||
scriptTimeout = getInt("scripting-timeout", scriptTimeout);
|
||||
butcherDefaultRadius = getInt("butcher-default-radius", butcherDefaultRadius);
|
||||
|
||||
LocalSession.MAX_HISTORY_SIZE = Math.max(15, getInt("history-size", 15));
|
||||
|
||||
|
@ -83,6 +83,7 @@ public class YAMLConfiguration extends LocalConfiguration {
|
||||
|
||||
scriptTimeout = config.getInt("scripting.timeout", scriptTimeout);
|
||||
scriptsDir = config.getString("scripting.dir", scriptsDir);
|
||||
butcherDefaultRadius = config.getInt("butcher-default-radius", butcherDefaultRadius);
|
||||
|
||||
saveDir = config.getString("saving.dir", saveDir);
|
||||
|
||||
|
Reference in New Issue
Block a user