and one more thing
This commit is contained in:
parent
a055d56084
commit
ccbb4c00ce
2 changed files with 28 additions and 1 deletions
|
@ -24,7 +24,8 @@ public class ModuleManager
|
|||
new AutoJump(),
|
||||
new Reach(),
|
||||
new AntiPowderSnow(),
|
||||
new AutoTotem()
|
||||
new AutoTotem(),
|
||||
new AutoWalk()
|
||||
/*new Timer()*/
|
||||
);
|
||||
}
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
package me.kawaiizenbo.moonlight.module.modules;
|
||||
|
||||
import me.kawaiizenbo.moonlight.module.Category;
|
||||
import me.kawaiizenbo.moonlight.module.Module;
|
||||
|
||||
public class AutoWalk extends Module
|
||||
{
|
||||
|
||||
public AutoWalk()
|
||||
{
|
||||
super("Auto Walk", "Automatically moves forward.", Category.MOVEMENT);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void tick()
|
||||
{
|
||||
mc.options.forwardKey.setPressed(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDisable()
|
||||
{
|
||||
super.onDisable();
|
||||
mc.options.forwardKey.setPressed(false);
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue