diff --git a/examples/postInit/thebetweenlands.groovy b/examples/postInit/thebetweenlands.groovy index fa1addab5..c910efbfd 100644 --- a/examples/postInit/thebetweenlands.groovy +++ b/examples/postInit/thebetweenlands.groovy @@ -206,3 +206,4 @@ mods.thebetweenlands.steeping_pot.recipeBuilder() mods.thebetweenlands.steeping_pot.addAcceptedItem(item('minecraft:gold_block')) + diff --git a/src/main/java/com/cleanroommc/groovyscript/compat/vanilla/command/infoparser/InfoParserItem.java b/src/main/java/com/cleanroommc/groovyscript/compat/vanilla/command/infoparser/InfoParserItem.java index c10936cda..a9e349101 100644 --- a/src/main/java/com/cleanroommc/groovyscript/compat/vanilla/command/infoparser/InfoParserItem.java +++ b/src/main/java/com/cleanroommc/groovyscript/compat/vanilla/command/infoparser/InfoParserItem.java @@ -45,7 +45,7 @@ public void iterate(List messages, @NotNull Iterator ItemStack entry = entries.next(); messages.add(information(entry, prettyNbt)); // can only copy to clipboard if a client is running this - if (FMLCommonHandler.instance().getSide().isClient()) copyToClipboard(copyText(entry, false)); + if (FMLCommonHandler.instance().getSide().isClient()) copyToClipboard(text(entry, false, prettyNbt)); } while (entries.hasNext()) { messages.add(information(entries.next(), prettyNbt));