forked from RepoMirrors/kami-blue
misc formatting
This commit is contained in:
parent
5a1a3aeada
commit
5a184dfd77
|
@ -9,7 +9,6 @@ import net.minecraft.item.ItemExpBottle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by S-B99 on 23/10/2019
|
* Created by S-B99 on 23/10/2019
|
||||||
*
|
|
||||||
* @author S-B99
|
* @author S-B99
|
||||||
* Updated by S-B99 on 03/12/19
|
* Updated by S-B99 on 03/12/19
|
||||||
* Updated by d1gress/Qther on 4/12/19
|
* Updated by d1gress/Qther on 4/12/19
|
||||||
|
@ -17,8 +16,7 @@ import net.minecraft.item.ItemExpBottle;
|
||||||
@Module.Info(category = Module.Category.COMBAT, description = "Changes delay when using items", name = "FastUse")
|
@Module.Info(category = Module.Category.COMBAT, description = "Changes delay when using items", name = "FastUse")
|
||||||
public class Fastuse extends Module {
|
public class Fastuse extends Module {
|
||||||
|
|
||||||
|
private Setting<Integer> delay = register(Settings.integerBuilder("Delay").withMinimum(0).withMaximum(20).withValue(0).build());
|
||||||
private Setting<Integer> delay = this.register(Settings.integerBuilder("Delay").withMinimum(0).withMaximum(20).withValue(0).build());
|
|
||||||
private Setting<Mode> mode = register(Settings.e("Mode", Mode.BOTH));
|
private Setting<Mode> mode = register(Settings.e("Mode", Mode.BOTH));
|
||||||
private static long time = 0;
|
private static long time = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue