Skip to content

Commit

Permalink
fix(Breadcrumbs): immutable pair left operation (#4932)
Browse files Browse the repository at this point in the history
  • Loading branch information
1zun4 authored Dec 16, 2024
1 parent 25b3555 commit f64c1d4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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))
Expand Down

0 comments on commit f64c1d4

Please sign in to comment.