1
0
mirror of https://github.com/kami-blue/client synced 2025-01-20 14:00:41 +00:00

update fastplace to take values

This commit is contained in:
S-B99 2019-10-25 16:37:43 -04:00
parent 3836efc82a
commit 374664e8ed

View File

@ -1,15 +1,20 @@
package me.zeroeightsix.kami.module.modules.player;
import me.zeroeightsix.kami.module.Module;
import me.zeroeightsix.kami.setting.Setting;
import me.zeroeightsix.kami.setting.Settings;
/**
* @author 086
* Updated by S-B99 on 25/10/19
*/
@Module.Info(name = "Fastplace", category = Module.Category.PLAYER, description = "Nullifies block place delay")
public class Fastplace extends Module {
private Setting<Integer> delay = register(Settings.i("Delay", 0));
@Override
public void onUpdate() {
mc.rightClickDelayTimer = 0;
mc.rightClickDelayTimer = delay.getValue();
}
}