From 5dd063fbba6bde64806a7620541dc2d9bdf42871 Mon Sep 17 00:00:00 2001 From: Roman / Linnea Gräf Date: Sat, 4 Mar 2023 02:54:50 +0100 Subject: Replace all commands in NEU with a brigadier implementation (#599) --- .../commands/profile/CataCommand.java | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 src/main/java/io/github/moulberry/notenoughupdates/commands/profile/CataCommand.java (limited to 'src/main/java/io/github/moulberry/notenoughupdates/commands/profile/CataCommand.java') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/commands/profile/CataCommand.java b/src/main/java/io/github/moulberry/notenoughupdates/commands/profile/CataCommand.java deleted file mode 100644 index afc47418..00000000 --- a/src/main/java/io/github/moulberry/notenoughupdates/commands/profile/CataCommand.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2022 NotEnoughUpdates contributors - * - * This file is part of NotEnoughUpdates. - * - * NotEnoughUpdates is free software: you can redistribute it - * and/or modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation, either - * version 3 of the License, or (at your option) any later version. - * - * NotEnoughUpdates is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with NotEnoughUpdates. If not, see . - */ - -package io.github.moulberry.notenoughupdates.commands.profile; - -import io.github.moulberry.notenoughupdates.profileviewer.GuiProfileViewer; -import net.minecraft.command.ICommandSender; - -public class CataCommand extends ViewProfileCommand { - - public CataCommand() { - super("cata"); - } - - @Override - public void processCommand(ICommandSender sender, String[] args) { - GuiProfileViewer.currentPage = GuiProfileViewer.ProfileViewerPage.DUNGEON; - super.processCommand(sender, args); - } -} -- cgit