mirror of
https://github.com/RayzsYT/ProAntiTab.git
synced 2026-11-26 18:39:43 -05:00
Add Method
This commit is contained in:
1 parent
7925c6dde9
commit
d087e2efc4
1 file changed
+4
-1
@@ -19,7 +19,10 @@ public class ConfigUpdater {
|
||||
}
|
||||
|
||||
public static void updateConfigFile(ConfigurationBuilder configurationBuilder, String target) {
|
||||
|
||||
File file = configurationBuilder.getFile();
|
||||
ConfigSection configSection = new ConfigSection(file);
|
||||
int[] position = getSectionPositionByTarget(configSection.getFileInput(), target, true);
|
||||
updateConfigFile(configurationBuilder, position[0], position[0], position[1]);
|
||||
}
|
||||
|
||||
public static void updateConfigFile(ConfigurationBuilder configurationBuilder, int atLine, int from, int to) {
|
||||
|
||||
Reference in new issue
Block a user