Fix baubles displayed potion effect (#47)

This commit is contained in:
Ranzu authored and GitHub committed 2026-10-27 23:59:43 -05:00
1 parent 04b39a7e7d
commit 1f6ed77f6d
1 file changed
+1 -1
@@ -300,7 +300,7 @@ public class GuiPlayerExpanded extends GuiContainer implements INEIGuiHandler {
String potionName = I18n.format(potion.getName());
if (effect.getAmplifier() >= 1) {
potionName = potionName + " " + I18n.format("enchantment.level." + effect.getAmplifier());
potionName = potionName + " " + I18n.format("enchantment.level." + (effect.getAmplifier() + 1));
}
this.fontRendererObj.drawStringWithShadow(potionName, positionHorizontal + 10 + 18, positionVertical + 6, 16777215);
String s = Potion.getDurationString(effect);