Skip to content
This repository has been archived by the owner on Jan 9, 2019. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAz928 authored Oct 17, 2017
1 parent 1ca90a8 commit 25500ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/VanillaEnchants/handlers/Power.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit 25500ae

Please sign in to comment.