Skip to content

Commit be1d683

Browse files
committed
Fixed rubberband no method exception
1 parent 9826eb0 commit be1d683

File tree

1 file changed

+1
-1
lines changed
  • common/src/main/kotlin/com/lambda/module/modules/network

1 file changed

+1
-1
lines changed

common/src/main/kotlin/com/lambda/module/modules/network/Rubberband.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ object Rubberband : Module(
6262
this@Rubberband.warn(buildText {
6363
literal("Reverted position by ")
6464
color(Color.YELLOW) {
65-
literal("${PlayerPacketManager.configurations.reversed().indexOf(last) + 1}")
65+
literal("${PlayerPacketManager.configurations.toList().asReversed().indexOf(last) + 1}")
6666
}
6767
literal(" ticks (deviation: ")
6868
color(Color.YELLOW) {

0 commit comments

Comments
 (0)