Skip to content

Commit

Permalink
remove useless line
Browse files Browse the repository at this point in the history
  • Loading branch information
nxyi committed Sep 10, 2024
1 parent 0360c61 commit d44a99e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/dark/zewo2/commands/DupeCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ public DupeCommand() {
@Override
public void build(LiteralArgumentBuilder<CommandSource> builder) {
builder.executes(context -> {
ArrayList<String> pages = new ArrayList<>();

mc.player.networkHandler.sendPacket(new BookUpdateC2SPacket(mc.player.getInventory().selectedSlot, pages, Optional.of("discord.gg/kja3YYV7R9 join now :3")));
mc.player.networkHandler.sendPacket(new BookUpdateC2SPacket(mc.player.getInventory().selectedSlot, new ArrayList<>(), Optional.of("discord.gg/kja3YYV7R9 join now :3")));
return 1;
});
}
Expand Down

0 comments on commit d44a99e

Please sign in to comment.