Skip to content

Commit

Permalink
FIX CS
Browse files Browse the repository at this point in the history
  • Loading branch information
KnosTx authored Sep 9, 2024
1 parent d6ae28d commit 61c4426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/item/Mace.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public function onAttackEntity(Entity $victim, array &$returnedItems) : bool{
$fallDistance = $holder->getFallDistance();

if($fallDistance >= self::SMASH_ATTACK_FALL_HEIGHT){
$damage = self::SMASH_ATTACK_DAMAGE + (int)( $fallDistance * 2);
$damage = self::SMASH_ATTACK_DAMAGE + (int) ( $fallDistance * 2);
$world->addSound($position, new MaceSmashGroundSound());
$world->addParticle($position, new HugeExplodeParticle());
$holder->resetFallDistance();
Expand Down

0 comments on commit 61c4426

Please sign in to comment.