cleanup
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user