From 5d33f99d47a4630acc62cb1fe762674dc1f3b9e4 Mon Sep 17 00:00:00 2001 From: WayofTime Date: Mon, 1 Feb 2021 10:42:25 -0500 Subject: [PATCH] Fixed Tough not upgrading. --- .../bloodmagic/util/handler/event/GenericHandler.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/wayoftime/bloodmagic/util/handler/event/GenericHandler.java b/src/main/java/wayoftime/bloodmagic/util/handler/event/GenericHandler.java index eb656cf4..7ccf30fe 100644 --- a/src/main/java/wayoftime/bloodmagic/util/handler/event/GenericHandler.java +++ b/src/main/java/wayoftime/bloodmagic/util/handler/event/GenericHandler.java @@ -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)