Skip to content

Commit

Permalink
refactor(next): remove RtpCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
WakelessSloth56 committed Sep 28, 2022
1 parent e6ae036 commit bd90f5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 103 deletions.
Expand Up @@ -4,9 +4,8 @@
import java.util.List;
import org.auioc.mcmod.arnicalib.ArnicaLib;
import org.auioc.mcmod.arnicalib.game.command.DynamicCommandHandler;
import org.auioc.mcmod.arnicalib.game.command.node.VersionCommandNode;
import org.auioc.mcmod.arnicalib.game.command.node.VersionCommand;
import org.auioc.mcmod.arnicalib.game.cpw.EnvironmentUtils;
import org.auioc.mcmod.arnicalib.mod.server.command.impl.RtpCommand;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.tree.CommandNode;
import net.minecraft.commands.CommandSourceStack;
Expand All @@ -16,8 +15,7 @@ public final class AHServerCommands {
public static final CommandNode<CommandSourceStack> NODE = literal(ArnicaLib.MOD_ID).build();

public static void register(CommandDispatcher<CommandSourceStack> dispatcher) {
VersionCommandNode.addVersionNode(NODE, ArnicaLib.class);
NODE.addChild(RtpCommand.NODE);
VersionCommand.addVersionNode(NODE, ArnicaLib.class);
if (EnvironmentUtils.IS_DEV) addTestNode(NODE);

getAHNode(dispatcher).addChild(NODE);
Expand Down

This file was deleted.

0 comments on commit bd90f5a

Please sign in to comment.