diff --git a/src/VanillaEnchants/handlers/Power.php b/src/VanillaEnchants/handlers/Power.php index 1729bc3..bd99642 100644 --- a/src/VanillaEnchants/handlers/Power.php +++ b/src/VanillaEnchants/handlers/Power.php @@ -23,7 +23,7 @@ public function onDamage(EntityDamageEvent $event){ $item = $damager->getInventory()->getItemInHand(); if($item->hasEnchantment(19) && $item->getId() == 261){ $add = $item->getEnchantment(19)->getLevel() * 0.5 + 3; - $event->setFinalDamage($event->getFinalDamage() + $add); + $event->setDamage($event->getFinalDamage() + $add); } } }