misc formatting

This commit is contained in:
Bella 2020-03-05 09:35:22 -05:00
parent 5a1a3aeada
commit 5a184dfd77
No known key found for this signature in database
GPG Key ID: 03B01AC937D1C89C
1 changed files with 1 additions and 3 deletions

View File

@ -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;