From f64c1d476a6aee9f40e0f713da5cbf591729f7e3 Mon Sep 17 00:00:00 2001 From: 1zuna <1zuna@ccbluex.net> Date: Mon, 16 Dec 2024 21:15:16 +0100 Subject: [PATCH] fix(Breadcrumbs): immutable pair left operation (#4932) --- .../features/module/modules/render/ModuleBreadcrumbs.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/render/ModuleBreadcrumbs.kt b/src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/render/ModuleBreadcrumbs.kt index aee7c1ae0e4..6e65f45880f 100644 --- a/src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/render/ModuleBreadcrumbs.kt +++ b/src/main/kotlin/net/ccbluex/liquidbounce/features/module/modules/render/ModuleBreadcrumbs.kt @@ -19,6 +19,7 @@ package net.ccbluex.liquidbounce.features.module.modules.render import com.mojang.blaze3d.systems.RenderSystem +import it.unimi.dsi.fastutil.objects.ObjectFloatMutablePair import it.unimi.dsi.fastutil.objects.ObjectFloatPair import net.ccbluex.liquidbounce.config.types.ToggleableConfigurable import net.ccbluex.liquidbounce.event.events.GameTickEvent @@ -195,7 +196,7 @@ object ModuleBreadcrumbs : ClientModule("Breadcrumbs", Category.RENDER, aliases } val point = calculatePoint(camera, position.x, position.y, position.z) - ObjectFloatPair.of(point, alpha) + ObjectFloatMutablePair.of(point, alpha) } val interpolatedPos = entity.getLerpedPos(mc.renderTickCounter.getTickDelta(true))