moved to correct category

This commit is contained in:
Cloudburst
2021-06-07 15:46:31 +02:00
parent d253827696
commit b6ee16c8f8
2 changed files with 6 additions and 3 deletions

View File

@@ -5,7 +5,6 @@ import minegame159.meteorclient.events.world.TickEvent;
import minegame159.meteorclient.settings.BoolSetting;
import minegame159.meteorclient.settings.Setting;
import minegame159.meteorclient.settings.SettingGroup;
import minegame159.meteorclient.systems.modules.Categories;
import minegame159.meteorclient.systems.modules.Module;
import minegame159.meteorclient.utils.player.FindItemResult;
import minegame159.meteorclient.utils.player.InvUtils;
@@ -16,6 +15,8 @@ import net.minecraft.item.Items;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
import cloudburst.rejects.MeteorRejectsAddon;
public class AutoWither extends Module {
private SettingGroup sgGeneral = settings.getDefaultGroup();
@@ -30,7 +31,7 @@ public class AutoWither extends Module {
// Part 1 : Build wither directly infront of player (complete)
// Part 2 : Build wither based on where the player is looking
public AutoWither() {
super(Categories.World, "auto-wither", "Automatically builds withers.");
super(MeteorRejectsAddon.CATEGORY, "auto-wither", "Automatically builds withers.");
}
@EventHandler

View File

@@ -18,6 +18,8 @@ import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityType;
import net.minecraft.util.registry.Registry;
import cloudburst.rejects.MeteorRejectsAddon;
import java.util.ArrayList;
import java.util.List;
@@ -41,7 +43,7 @@ public class NoInteract extends Module {
);
public NoInteract() {
super(Categories.Player, "no-interact", "Blocks interactions with certain types of inputs.");
super(MeteorRejectsAddon.CATEGORY, "no-interact", "Blocks interactions with certain types of inputs.");
}
@EventHandler
private void onScreenOpen(OpenScreenEvent event) {