TheXFactor117 / Levels

A small, Minecraft mod focused around the aspect of weapon and armor leveling.
GNU General Public License v2.0
24 stars 19 forks source link

Upgrade page shows max level is 7 ignoring of config #76

Closed CplPibald closed 7 years ago

CplPibald commented 7 years ago

If you set config to max level something other than 7, a level 7 weapon still displays as "max".

Problem in levels/gui/GuiAbilitySelection.java line 190

if (Experience.getLevel(nbt) == 7)

Should be

if (Experience.getLevel(nbt) == ConfigHandler.MAX_LEVEL)
TheXFactor117 commented 7 years ago

Hmm, not too sure how that slipped by. Will be fixed in the next version.

CplPibald commented 7 years ago

Thank you for doing this mod, @TheXFactor117. It is very welcomed.

TheXFactor117 commented 7 years ago

Of course! Thanks for the reports.

TheXFactor117 commented 7 years ago

Will be fixed in the next version.