Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
fix: Incorrect spellings of color
Browse files Browse the repository at this point in the history
(very important commit)

Signed-off-by: lv <[email protected]>
  • Loading branch information
5HT2 committed Apr 11, 2021
1 parent 4392e1c commit ce372da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import org.kamiblue.commons.extension.max
object SignBookCommand : ClientCommand(
name = "signbook",
alias = arrayOf("sign"),
description = "Colored book names. &f#n&7 for a new line and &f&&7 for colour codes"
description = "Colored book names. &f#n&7 for a new line and &f&&7 for color codes"
) {
init {
greedy("title") { titleArg ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import org.kamiblue.client.event.events.RenderOverlayEvent
import org.kamiblue.client.event.events.RenderWorldEvent
import org.kamiblue.client.manager.managers.CombatManager
import org.kamiblue.client.manager.managers.HotbarManager.serverSideItem
import org.kamiblue.client.manager.managers.PlayerPacketManager
import org.kamiblue.client.module.Category
import org.kamiblue.client.module.Module
import org.kamiblue.client.util.Quad
Expand Down Expand Up @@ -56,7 +55,7 @@ internal object CrystalESP : Module(
private val animationScale = setting("Animation Scale", 1.0f, 0.0f..2.0f, 0.1f, { page.value == Page.CRYSTAL_ESP && crystalESP.value })
private val crystalRange = setting("Crystal ESP Range", 16.0f, 0.0f..16.0f, 0.5f, { page.value == Page.CRYSTAL_ESP })

private val colour by setting("Color", ColorHolder(155, 144, 255), false, { page.value == Page.CRYSTAL_ESP_COLOR && crystalESP.value })
private val color by setting("Color", ColorHolder(155, 144, 255), false, { page.value == Page.CRYSTAL_ESP_COLOR && crystalESP.value })
private val aFilled = setting("Filled Alpha", 47, 0..255, 1, { page.value == Page.CRYSTAL_ESP_COLOR && crystalESP.value && filled.value })
private val aOutline = setting("Outline Alpha", 127, 0..255, 1, { page.value == Page.CRYSTAL_ESP_COLOR && crystalESP.value && outline.value })
private val aTracer = setting("Tracer Alpha", 200, 0..255, 1, { page.value == Page.CRYSTAL_ESP_COLOR && crystalESP.value && tracer.value })
Expand Down Expand Up @@ -163,8 +162,8 @@ internal object CrystalESP : Module(
for ((pos, quad) in renderCrystalMap) {
val progress = getAnimationProgress(quad.third, quad.fourth)
val box = AxisAlignedBB(pos).shrink(0.5 - progress * 0.5)
colour.a = (progress * 255.0f).toInt()
renderer.add(box, colour)
color.a = (progress * 255.0f).toInt()
renderer.add(box, color)
}

renderer.render(true)
Expand Down

3 comments on commit ce372da

@XWasHere
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kami blue moment.

@czho
Copy link
Contributor

@czho czho commented on ce372da Apr 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thats kinda a regional thing, if kami blue ever gets translations, maby we can make a uk translation for things like that

@5HT2
Copy link
Member Author

@5HT2 5HT2 commented on ce372da Apr 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, see kami-blue/client#797

It'd be pretty funny to watch people re-add the UK translations lol, but for now we would prefer to have everything in American English

Also this is the nightly-releases repo, the original commit is in kami-blue/client@ce372da

Please sign in to comment.