Skip to content

Commit

Permalink
Small fix to getDisplayName
Browse files Browse the repository at this point in the history
  • Loading branch information
Pepperoni-Jabroni committed Apr 22, 2023
1 parent 5d89045 commit e96d8ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/pepjebs/mapatlases/item/MapAtlasItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public void openHandledAtlasScreen(World world, PlayerEntity player) {

@Override
public Text getDisplayName() {
return MutableText.of(new TranslatableTextContent(getTranslationKey(), "", new Object[0]));
return Text.translatable(getTranslationKey());
}

@Nullable
Expand Down

0 comments on commit e96d8ec

Please sign in to comment.