Skip to content

Commit

Permalink
fix patcher compat, remove block commands (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
MicrocontrollersDev committed Jun 14, 2024
1 parent 1a308b9 commit a0a0403
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 97 deletions.
2 changes: 0 additions & 2 deletions src/main/java/org/polyfrost/hytils/HytilsReborn.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,15 +105,13 @@ public class HytilsReborn {
public void init(FMLInitializationEvent event) {
config = new HytilsConfig();

CommandManager.INSTANCE.registerCommand(new BlockCommand());
CommandManager.INSTANCE.registerCommand(new HousingVisitCommand());
CommandManager.INSTANCE.registerCommand(new HytilsCommand());
CommandManager.INSTANCE.registerCommand(new IgnoreTemporaryCommand());
CommandManager.INSTANCE.registerCommand(new LimboCommand());
CommandManager.INSTANCE.registerCommand(new RequeueCommand());
CommandManager.INSTANCE.registerCommand(new SilentRemoveCommand());
CommandManager.INSTANCE.registerCommand(new SkyblockVisitCommand());
CommandManager.INSTANCE.registerCommand(new UnblockCommand());

// We initialize it a different way because it requires the
// GameNameParser to be initialized, and that depends on networking.
Expand Down
47 changes: 0 additions & 47 deletions src/main/java/org/polyfrost/hytils/command/BlockCommand.java

This file was deleted.

47 changes: 0 additions & 47 deletions src/main/java/org/polyfrost/hytils/command/UnblockCommand.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import cc.polyfrost.oneconfig.utils.hypixel.HypixelUtils;
import cc.polyfrost.oneconfig.utils.hypixel.LocrawInfo;
import cc.polyfrost.oneconfig.utils.hypixel.LocrawUtil;
import net.minecraftforge.fml.common.eventhandler.EventPriority;
import org.polyfrost.hytils.config.HytilsConfig;
import net.minecraft.client.Minecraft;
import net.minecraft.entity.EntityLiving;
Expand All @@ -40,7 +41,7 @@ public void onWorldLoad(WorldEvent.Load event) {
pitSpawnPos = -1;
}

@SubscribeEvent
@SubscribeEvent(priority = EventPriority.HIGHEST)
public void onRenderLiving(RenderLivingEvent.Pre<EntityLiving> event) {
if (!HypixelUtils.INSTANCE.isHypixel()) {
return;
Expand Down

0 comments on commit a0a0403

Please sign in to comment.