Skip to content

Commit d44a99e

Browse files
author
nxyi
committed
remove useless line
1 parent 0360c61 commit d44a99e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/dark/zewo2/commands/DupeCommand.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ public DupeCommand() {
1818
@Override
1919
public void build(LiteralArgumentBuilder<CommandSource> builder) {
2020
builder.executes(context -> {
21-
ArrayList<String> pages = new ArrayList<>();
2221

23-
mc.player.networkHandler.sendPacket(new BookUpdateC2SPacket(mc.player.getInventory().selectedSlot, pages, Optional.of("discord.gg/kja3YYV7R9 join now :3")));
22+
mc.player.networkHandler.sendPacket(new BookUpdateC2SPacket(mc.player.getInventory().selectedSlot, new ArrayList<>(), Optional.of("discord.gg/kja3YYV7R9 join now :3")));
2423
return 1;
2524
});
2625
}

0 commit comments

Comments
 (0)