Skip to content

Commit

Permalink
Fix the output of the hand command (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
ALongStringOfNumbers authored Nov 2, 2021
1 parent 9e9a6b5 commit bc8bfff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public void execute(@Nonnull MinecraftServer server, @Nonnull ICommandSender sen
Material material = ((MetaPrefixItem) metaItem).getMaterial(stackInHand);
OrePrefix orePrefix = ((MetaPrefixItem) metaItem).getOrePrefix();
String oreDictName = new UnificationEntry(orePrefix, material).toString();
player.sendMessage(new TextComponentTranslation("gregtech.command.util.hand.material_meta_item", orePrefix, material)
player.sendMessage(new TextComponentTranslation("gregtech.command.util.hand.material_meta_item", orePrefix.name(), material)
.setStyle(new Style().setClickEvent(new ClickEvent(Action.OPEN_URL, oreDictName))));
}
} else {
Expand Down

0 comments on commit bc8bfff

Please sign in to comment.