Skip to content

Commit

Permalink
fixed detailed amounts not displaying in hovering text for entity log…
Browse files Browse the repository at this point in the history
…gers
  • Loading branch information
Fallen-Breath committed Jan 12, 2022
1 parent c636b08 commit bb5b18c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected BaseText getNameText(ItemEntity item)
@Override
protected BaseText getNameTextHoverText(ItemEntity item)
{
return Messenger.c(tr("item_stack_size", String.format("w : %d", item.getStack().getCount())));
return Messenger.c(tr("item_stack_size"), String.format("w : %d", item.getStack().getCount()));
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static XPOrbLogger getInstance()
@Override
protected BaseText getNameTextHoverText(ExperienceOrbEntity xp)
{
return Messenger.c(tr("xp_amount", String.format("w : %d", xp.getExperienceAmount())));
return Messenger.c(tr("xp_amount"), String.format("w : %d", xp.getExperienceAmount()));
}

@Override
Expand Down

0 comments on commit bb5b18c

Please sign in to comment.