diff --git a/src/main/java/org/infernalstudios/miningmaster/enchantments/HeartfeltEnchantment.java b/src/main/java/org/infernalstudios/miningmaster/enchantments/HeartfeltEnchantment.java index 9439f71..6c19841 100644 --- a/src/main/java/org/infernalstudios/miningmaster/enchantments/HeartfeltEnchantment.java +++ b/src/main/java/org/infernalstudios/miningmaster/enchantments/HeartfeltEnchantment.java @@ -84,7 +84,7 @@ public boolean isAllowedOnBooks() { @SubscribeEvent public static void onLivingDamage(LivingDamageEvent event) { - LivingEntity user = event.getEntity(); + LivingEntity user = event.getEntityLiving(); Iterable equipment = user.getAllSlots(); for (ItemStack item : equipment) {