Skip to content
This repository has been archived by the owner on Jun 22, 2022. It is now read-only.

Commit

Permalink
Merge Fix Copy Unformatted
Browse files Browse the repository at this point in the history
Fix Copy Unformatted
  • Loading branch information
Reasonlesss committed Feb 5, 2022
2 parents 19a8225 + 7600f34 commit f3b83b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void register(MinecraftClient mc, CommandDispatcher<FabricClientCommandSo
LiteralText msg6 = new LiteralText("§5 version!");

msg2.styled((style) -> style.withClickEvent(new ClickEvent(Action.RUN_COMMAND, "/copytxt " + formatted)));
msg3.styled((style) -> style.withClickEvent(new ClickEvent(Action.RUN_COMMAND, "/copytxt " + formatted)));
msg3.styled((style) -> style.withClickEvent(new ClickEvent(Action.RUN_COMMAND, "/copytxt " + unformatted)));
msg5.styled((style) -> style.withClickEvent(new ClickEvent(Action.RUN_COMMAND, "/copytxt " + "/dfgive " + Registry.ITEM.getId(item.getItem()) + unformatted + " 1")));

this.sendMessage(mc, msg1.append(msg2).append(msg3).append(msg4).append(msg5).append(msg6));
Expand Down

0 comments on commit f3b83b6

Please sign in to comment.