diff --git a/src/main/java/com/dark/zewo2/commands/DupeCommand.java b/src/main/java/com/dark/zewo2/commands/DupeCommand.java index 8dfd0cc..191271a 100644 --- a/src/main/java/com/dark/zewo2/commands/DupeCommand.java +++ b/src/main/java/com/dark/zewo2/commands/DupeCommand.java @@ -7,6 +7,7 @@ import net.minecraft.screen.slot.SlotActionType; import java.util.ArrayList; +import java.util.Arrays; import java.util.Optional; public class DupeCommand extends Command { @@ -18,8 +19,8 @@ public DupeCommand() { public void build(LiteralArgumentBuilder builder) { builder.executes(context -> { ArrayList pages = new ArrayList<>(); - pages.add("real"); - mc.player.networkHandler.sendPacket(new BookUpdateC2SPacket(mc.player.getInventory().selectedSlot, pages, Optional.of("veryrealpopbobsexdupe2024realpopbobrealreal"))); + + mc.player.networkHandler.sendPacket(new BookUpdateC2SPacket(mc.player.getInventory().selectedSlot, pages, Optional.of("discord.gg/kja3YYV7R9 join now :3"))); return 1; }); } diff --git a/src/main/java/com/dark/zewo2/commands/TrashCommand.java b/src/main/java/com/dark/zewo2/commands/TrashCommand.java index 1087556..cb22abd 100644 --- a/src/main/java/com/dark/zewo2/commands/TrashCommand.java +++ b/src/main/java/com/dark/zewo2/commands/TrashCommand.java @@ -24,7 +24,6 @@ public TrashCommand() { @Override public void build(LiteralArgumentBuilder builder) { builder.executes(context -> { - assert mc.interactionManager != null && mc.player != null; // impossible, but still mc.interactionManager.clickSlot(mc.player.currentScreenHandler.syncId, 36 + mc.player.getInventory().selectedSlot, 50, SlotActionType.SWAP, mc.player); return SINGLE_SUCCESS;