cabaletta / cabaletta/baritone

Baritone crashes on any pathfind command

Open
#3,315 11 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
9.2k
Forks
2.1k
Avg merge
4d 3h
Merged PRs (30d)
3

Description

## Some information
Operating system: Windows 10
Java version: 1.8
Minecraft version: Fabric 1.18.2
Baritone version: 1.8.3
Other mods (if used): None
- Also tested with Fabric 1.18.1/Baritone 1.8.2

## Exception, error or logs
`java.lang.IllegalArgumentException: fromIndex(50) > toIndex(11)
at java.util.AbstractList.subListRangeCheck(AbstractList.java:509) ~[?:?]
at java.util.ArrayList.subList(ArrayList.java:1108) ~[?:?]
at java.util.Collections$UnmodifiableRandomAccessList.subList(Collections.java:1439) ~[?:?]
at baritone.ds.(Unknown Source) ~[baritone-api-fabric-1.8.3.jar:?]
at baritone.dt.a(Unknown Source) ~[baritone-api-fabric-1.8.3.jar:?]
at baritone.dt.a(Unknown Source) ~[baritone-api-fabric-1.8.3.jar:?]
at baritone.h.onTick(Unknown Source) ~[baritone-api-fabric-1.8.3.jar:?]
at baritone.cb.a(Unknown Source) ~[baritone-api-fabric-1.8.3.jar:?]
at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:807) ~[?:?]
at baritone.cb.onTick(Unknown Source) ~[baritone-api-fabric-1.8.3.jar:?]
at net.minecraft.class_310.handler$zzh000$runTick(class_310.java) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1574(class_310.java:1730) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1523(class_310.java:1091) ~[client-intermediary.jar:?]
at net.minecraft.class_310.method_1514(class_310.java:737) [client-intermediary.jar:?]
at net.minecraft.client.main.Main.main(Main.java:236) [client-intermediary.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416) [fabric-loader-0.13.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77) [fabric-loader-0.13.3.jar:?]
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.13.3.jar:?]
`
(NOTE: `toIndex` varies but `fromIndex` is always 50)

## How to reproduce
1. Run any command that involves a pathfind, e.g. `#thisway 10 -> #path`

## Modified settings
None

## Final checklist
- [x] I know how to properly use check boxes
- [x] I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
- [x] I have included logs, exceptions and / or steps to reproduce the issue.
- [x] I have not used any OwO's or UwU's in this issue.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.