Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix patcher compat, remove block commands #87

Merged
merged 2 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading