Development Milestone:

Added max machine length setting to config.
This commit is contained in:
BigPappa committed 2026-06-11 12:51:16 -05:00
1 parent 698aceafc0
commit 18114e3064
3 files changed
+25 -4

No files matched your search

@@ -18,6 +18,24 @@ public class ConfigManager {
}
/*
|--------------------------------------------------------------------------
| max-machine-length
|--------------------------------------------------------------------------
*/
public static int getMaxMachineLength() {
int configured = RSAuger.getInstance()
.getConfig()
.getInt("max-machine-length", 16);
if (configured < 1) {
return 1;
}
return Math.min(configured, 16);
}
/*
|--------------------------------------------------------------------------
| RELOAD