mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-27 23:33:00 +00:00
Fix baubles displayed potion effect (#47)
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user