AntiCope / orion

Continuation of GhostTypes' Orion
84 stars 15 forks source link

[Bug] Modifying RPC settings while active crashes Minecraft #23

Closed seaofmars closed 2 years ago

seaofmars commented 2 years ago

Describe the bug

Title

Crashlog

[14:41:50] [Render thread/ERROR]: Unreported exception thrown!
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
    at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[?:?]
    at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[?:?]
    at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) ~[?:?]
    at java.util.Objects.checkIndex(Objects.java:359) ~[?:?]
    at java.util.ArrayList.get(ArrayList.java:427) ~[?:?]
    at me.ghosttypes.orion.modules.main.RPC.updateDetails(RPC.java:80) ~[orion-0.1.jar:?]
    at me.ghosttypes.orion.modules.main.RPC.onTick(RPC.java:68) ~[orion-0.1.jar:?]
    at meteordevelopment.orbit.listeners.LambdaListener.call(LambdaListener.java:83) ~[meteor-client-0.5.0-1505.jar:?]
    at meteordevelopment.orbit.EventBus.post(EventBus.java:47) ~[meteor-client-0.5.0-1505.jar:?]
    at net.minecraft.class_310.handler$bop005$onTick(class_310.java:11438) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1574(class_310.java:1869) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1523(class_310.java:1101) ~[client-intermediary.jar:?]
    at net.minecraft.class_310.method_1514(class_310.java:734) [client-intermediary.jar:?]
    at net.minecraft.client.main.Main.main(Main.java:237) [client-intermediary.jar:?]
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:461) [fabric-loader-0.14.7.jar:?]
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.14.7.jar:?]
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.14.7.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 org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:210) [NewLaunch.jar:?]
    at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:245) [NewLaunch.jar:?]
    at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?]
    at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]

Steps to reproduce

  1. Enter title, line 1, line 2
  2. Activate RPC
  3. Delete a line

Operating System

Windows

Addon Version

No response

Meteor Version

0.5.0

Minecraft Version

1.19

Other mods

No response