diff --git a/src/main/java/me/zeroeightsix/kami/module/modules/player/Fastplace.java b/src/main/java/me/zeroeightsix/kami/module/modules/player/Fastplace.java index 53a110e64..1fcd6c89c 100644 --- a/src/main/java/me/zeroeightsix/kami/module/modules/player/Fastplace.java +++ b/src/main/java/me/zeroeightsix/kami/module/modules/player/Fastplace.java @@ -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 delay = register(Settings.i("Delay", 0)); + @Override public void onUpdate() { - mc.rightClickDelayTimer = 0; + mc.rightClickDelayTimer = delay.getValue(); } }