Skip to content

Commit

Permalink
1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeTheTech committed Dec 12, 2023
1 parent 0e97144 commit 8d9fb41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ public ItemStack createPetEffectItem(EntityType entityType, boolean effect) {
private String createPetEffectLore(EntityType entityType, boolean effect) {
final String effectColor = effect ? "&2" : "&c";
final PotionEffect potionEffect = PetEffects.valueOf(entityType.name()).getPotionEffect();
return Lang.MENU_PET_EFFECT_LORE.getString(new String[]{CoreUtil.capitalize(potionEffect.getType().getKey().asString()), String.valueOf(potionEffect.getAmplifier()), effectColor + CoreUtil.capitalize(String.valueOf(effect))});
return Lang.MENU_PET_EFFECT_LORE.getString(new String[]{CoreUtil.capitalize(potionEffect.getType().getName()), String.valueOf(potionEffect.getAmplifier()), effectColor + CoreUtil.capitalize(String.valueOf(effect))});
}
}

0 comments on commit 8d9fb41

Please sign in to comment.