From 8d0bb40f726c24bec1894f0d81e84e2915a7e681 Mon Sep 17 00:00:00 2001 From: Cloudburst Date: Wed, 19 May 2021 21:14:26 +0200 Subject: [PATCH] cleanup --- src/main/java/cloudburst/rejects/commands/BookDupeCommand.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/cloudburst/rejects/commands/BookDupeCommand.java b/src/main/java/cloudburst/rejects/commands/BookDupeCommand.java index 5835edc..3964193 100644 --- a/src/main/java/cloudburst/rejects/commands/BookDupeCommand.java +++ b/src/main/java/cloudburst/rejects/commands/BookDupeCommand.java @@ -1,7 +1,6 @@ package cloudburst.rejects.commands; import com.mojang.brigadier.builder.LiteralArgumentBuilder; -import com.mojang.brigadier.exceptions.SimpleCommandExceptionType; import minegame159.meteorclient.systems.commands.Command; import minegame159.meteorclient.utils.player.InvUtils; import net.minecraft.command.CommandSource; @@ -10,7 +9,6 @@ import net.minecraft.item.Items; import net.minecraft.nbt.ListTag; import net.minecraft.nbt.StringTag; import net.minecraft.network.packet.c2s.play.BookUpdateC2SPacket; -import net.minecraft.text.LiteralText; import net.minecraft.util.Hand; import static com.mojang.brigadier.Command.SINGLE_SUCCESS; @@ -18,7 +16,6 @@ import static com.mojang.brigadier.Command.SINGLE_SUCCESS; //Credit to the original author (https://github.com/Gaider10/BookDupe) (i think) for some of this code. public class BookDupeCommand extends Command { - private final SimpleCommandExceptionType BOOK_NOT_FOUND_EXCEPTION = new SimpleCommandExceptionType(new LiteralText("No writeable book found in inventory.")); private final ItemStack DUPE_BOOK = new ItemStack(Items.WRITABLE_BOOK, 1); public BookDupeCommand() {