mirror of https://github.com/kami-blue/client
close #434
This commit is contained in:
parent
555d5d9c4a
commit
5ae39e9190
|
@ -15,8 +15,8 @@ import me.zeroeightsix.kami.util.InfoCalculator;
|
|||
public class TimerSpeed extends Module {
|
||||
private float tickDelay = 0.0f;
|
||||
private static float curSpeed = 0.0f;
|
||||
private Setting<Float> minimumSpeed = register(Settings.floatBuilder("Minimum Speed").withMinimum(0.0F).withMaximum(10.0F).withValue(4.0F));
|
||||
private Setting<Float> maxSpeed = register(Settings.floatBuilder("Max Speed").withMinimum(0.0F).withMaximum(10.0F).withValue(7.0F));
|
||||
private Setting<Float> minimumSpeed = register(Settings.floatBuilder("Minimum Speed").withMinimum(0.1F).withMaximum(10.0F).withValue(4.0F));
|
||||
private Setting<Float> maxSpeed = register(Settings.floatBuilder("Max Speed").withMinimum(0.1F).withMaximum(10.0F).withValue(7.0F));
|
||||
private Setting<Float> attemptSpeed = register(Settings.floatBuilder("Attempt Speed").withMinimum(1.0F).withMaximum(10.0F).withValue(4.2F));
|
||||
private Setting<Float> fastSpeed = register(Settings.floatBuilder("Fast Speed").withMinimum(1.0F).withMaximum(10.0F).withValue(5.0F));
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ import me.zeroeightsix.kami.setting.Settings;
|
|||
*/
|
||||
@Module.Info(name = "Timer", category = Module.Category.PLAYER, description = "Changes your client tick speed")
|
||||
public class Timer extends Module {
|
||||
private Setting<Float> speed = register(Settings.floatBuilder("Speed").withMinimum(0f).withMaximum(10f).withValue(2.0f));
|
||||
private Setting<Float> speed = register(Settings.floatBuilder("Speed").withMinimum(1f).withMaximum(11f).withValue(2.0f));
|
||||
|
||||
public void onDisable() {
|
||||
mc.timer.tickLength = 50.0f;
|
||||
|
|
Loading…
Reference in New Issue