Skip to content

Commit 63541ad

Browse files
committed
Merge remote-tracking branch 'lambda-client/master' into Jesus
2 parents ae95a9c + 7d37d75 commit 63541ad

File tree

5 files changed

+204
-70
lines changed

5 files changed

+204
-70
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ Find our plugins [here](https://github.com/lambda-plugins).
1919
<a href="https://github.com/lambda-client/lambda/releases/download/3.2.1/lambda-3.2.1.jar"><img alt="lambda-3.2.1.jar" src="https://raw.githubusercontent.com/lambda-client/assets/main/download_button_3.2.1.png" width="70%" height="70%"></a>
2020
</p>
2121

22+
<div align="center">
23+
<a href="https://discord.gg/QjfBxJzE5x"><img src="https://invidget.switchblade.xyz/QjfBxJzE5x" alt="Link to the lambda discord server https://discord.gg/QjfBxJzE5x"></a>
24+
</div>
25+
2226
## Installation
2327
1. Install Minecraft 1.12.2
2428
2. Install the latest Forge for 1.12.2 [(download)](https://files.minecraftforge.net/net/minecraftforge/forge/index_1.12.2.html)

src/main/kotlin/com/lambda/client/module/modules/combat/HoleSnap.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ object HoleSnap : Module(
9494
}
9595

9696
getHole()?.let {
97-
if (disableStrafe && Speed.mode == Speed.SpeedMode.STRAFE) Speed.disable()
97+
if (disableStrafe && Speed.mode.value == Speed.SpeedMode.STRAFE) Speed.disable()
9898
if ((airStrafe || player.onGround) && !player.isCentered(it)) {
9999
val playerPos = player.positionVector
100100
val targetPos = Vec3d(it.x + 0.5, player.posY, it.z + 0.5)

src/main/kotlin/com/lambda/client/module/modules/combat/Surround.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ object Surround : Module(
101101
// Centered check
102102
if (!player.centerPlayer()) return@safeListener
103103

104-
if (disableStrafe && Speed.mode == Speed.SpeedMode.STRAFE) {
104+
if (disableStrafe && Speed.mode.value == Speed.SpeedMode.STRAFE) {
105105
Speed.disable()
106106
}
107107

src/main/kotlin/com/lambda/client/module/modules/misc/DiscordRPC.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ object DiscordRPC : Module(
3535
private val line2Left by setting("Line 2 Left", LineInfo.DIMENSION) // state left
3636
private val line2Right by setting("Line 2 Right", LineInfo.HEALTH) // state right
3737
private val coordsConfirm by setting("Coords Confirm", false, { showCoordsConfirm() })
38-
private val delay by setting("Update Delay", 5, 1..60, 1, unit = " s")
38+
private val delay by setting("Update Delay", 200, 200..2000, 1, unit = "ms")
3939

4040
private enum class LineInfo {
4141
VERSION, WORLD, DIMENSION, USERNAME, HEALTH, HUNGER, SERVER_IP, COORDS, SPEED, HELD_ITEM, FPS, TPS, NONE
@@ -46,8 +46,8 @@ object DiscordRPC : Module(
4646
private var initialised = false
4747
private val rpcBuilder = RichPresence.Builder()
4848
.setLargeImage("default", "https://github.com/lambda-client/lambda/")
49-
private val timer = TickTimer(TimeUnit.SECONDS)
50-
private val job = BackgroundJob("Discord RPC", { delay * 1000L }) { updateRPC() }
49+
private val timer = TickTimer(TimeUnit.MILLISECONDS)
50+
private val job = BackgroundJob("Discord RPC", { delay * 200L }) { updateRPC() }
5151

5252
init {
5353
onEnable {

0 commit comments

Comments
 (0)