Port autogg
This commit is contained in:
parent
30cce3bdf4
commit
d8c1ae3884
|
@ -8,9 +8,7 @@ import dev.resent.module.setting.BooleanSetting;
|
|||
@Module(name = "AutoGG", category = Category.MISC, hasSetting = true)
|
||||
public class AutoGG extends Mod {
|
||||
|
||||
public AutoGG() {
|
||||
addSetting(rep, onLose, onWin);
|
||||
}
|
||||
public AutoGG() { addSetting(rep, onLose, onWin); }
|
||||
|
||||
public static BooleanSetting rep = new BooleanSetting("Repetition bypass", "", true);
|
||||
public static BooleanSetting onLose = new BooleanSetting("On Lose", "", true);
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
package dev.resent.module.impl.misc;
|
||||
|
||||
import dev.resent.annotation.Module;
|
||||
import dev.resent.module.base.Category;
|
||||
import dev.resent.module.base.Mod;
|
||||
|
||||
@Module(name = "AutoRespawn", category = Category.MISC)
|
||||
public class AutoRespawn extends Mod {
|
||||
|
||||
public AutoRespawn() {
|
||||
super("AutoRespawn", Category.MISC);
|
||||
}
|
||||
|
||||
public void onTick() {
|
||||
if (this.isEnabled()) {
|
||||
if (mc.thePlayer.isDead) {
|
||||
|
@ -16,4 +14,5 @@ public class AutoRespawn extends Mod {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user