noslowdown annoyance fix
This commit is contained in:
parent
8b0953fe56
commit
67c794fa68
2 changed files with 8 additions and 0 deletions
|
@ -1,9 +1,11 @@
|
|||
package com.baseband.client.module.chat;
|
||||
|
||||
import com.baseband.client.configuration.annotation.Config;
|
||||
import com.baseband.client.configuration.annotation.Gate;
|
||||
import com.baseband.client.event.events.PacketEvent;
|
||||
import com.baseband.client.module.Feature;
|
||||
import com.baseband.client.module.category.Chat;
|
||||
import com.baseband.client.util.config.Marker;
|
||||
import com.baseband.client.util.ingame.ChatUtil;
|
||||
import net.minecraft.network.play.server.SPacketChat;
|
||||
import net.minecraft.util.text.TextComponentString;
|
||||
|
@ -21,9 +23,11 @@ public class ExtraChat extends Feature {
|
|||
}
|
||||
|
||||
@Config("AntiPopLag")
|
||||
@Marker(1)
|
||||
public boolean antiPopLag;
|
||||
|
||||
@Config("PopLagNotify")
|
||||
@Gate(1)
|
||||
public boolean notifyOnPopLag;
|
||||
|
||||
@Config("AntiLog4Shell")
|
||||
|
|
|
@ -18,5 +18,9 @@ public class NoSlowDown extends Feature {
|
|||
e.getMovementInput().moveStrafe *= 5;
|
||||
e.getMovementInput().moveForward *= 5;
|
||||
}
|
||||
|
||||
if (mc.player.isHandActive() && mc.gameSettings.keyBindSprint.isKeyDown()) {
|
||||
mc.player.setSprinting(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue