mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-01 14:38:55 +00:00
added range config option
This commit is contained in:
1 parent
883789cee4
commit
2c8f4cc46f
5 files changed
+17
-34
No files matched your search
@@ -16,6 +16,10 @@ public class Config {
|
||||
|
||||
public static Material controlItem = Material.COMPASS;
|
||||
|
||||
public static int controlDistance = 64;
|
||||
|
||||
public static int rotateDistance = 32;
|
||||
|
||||
public static void initConfigVals() {
|
||||
// init config
|
||||
config = SiegeEngines.getInstance().getConfig();
|
||||
@@ -28,6 +32,9 @@ public class Config {
|
||||
controlItem = Material.COMPASS;
|
||||
}
|
||||
|
||||
controlDistance = config.getInt("ControlDistance");
|
||||
|
||||
rotateDistance = config.getInt("RotateDistance");
|
||||
}
|
||||
|
||||
public static void reload() {
|
||||
|
||||
Reference in new issue
Block a user