Skip to content

Commit 31b30e3

Browse files
committed
Migrate allowJumpAt256 to allowJumpAtBuildLimit in settings files
1 parent 0fe8c62 commit 31b30e3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/api/java/baritone/api/utils/SettingsUtil.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ public static void readAndApply(Settings settings, String settingsName) {
8383

8484
String settingName = matcher.group("setting").toLowerCase();
8585
String settingValue = matcher.group("value");
86+
// TODO remove soonish
87+
if ("allowjumpat256".equals(settingName)) {
88+
settingName = "allowjumpatbuildlimit";
89+
}
8690
try {
8791
parseAndApply(settings, settingName, settingValue);
8892
} catch (Exception ex) {

0 commit comments

Comments
 (0)