Fixed Tough not upgrading.

This commit is contained in:
WayofTime 2021-02-01 10:42:25 -05:00
parent a3d7a8c3b1
commit 5d33f99d47

View file

@ -206,6 +206,9 @@ public class GenericHandler
// LivingStats stats = LivingStats.fromPlayer(player);
// stats.addExperience(LivingArmorRegistrar.TEST_UPGRADE.get().getKey(), 10);
LivingUtil.applyNewExperience(player, LivingArmorRegistrar.UPGRADE_ARROW_PROTECT.get(), event.getAmount());
} else
{
LivingUtil.applyNewExperience(player, LivingArmorRegistrar.UPGRADE_PHYSICAL_PROTECT.get(), event.getAmount());
}
if (event.getSource() == DamageSource.FALL)