Skip to content

Commit

Permalink
add todo for removing 1.16.2 tooltip workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
cech12 committed Oct 6, 2020
1 parent b242bfe commit 796c823
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/cech12/usefulhats/item/AbstractHatItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ public <T extends LivingEntity> int damageItem(ItemStack stack, int amount, T en
* Forge removed {@link net.minecraftforge.fml.client.gui.GuiUtils::drawHoveringText} call
* from {@link net.minecraft.client.gui.screen.Screen} class. So, all long texts are not reordered.
* Reordering by myself.
* //TODO could be removed when building against Forge 1.16.3-34.1.11 or later
*/
@OnlyIn(Dist.CLIENT)
protected void addTextLineToTooltip(@Nonnull List<ITextComponent> tooltip, @Nonnull ITextComponent textLine) {
Expand Down

0 comments on commit 796c823

Please sign in to comment.