Skip to content

Commit

Permalink
Update SurvivalBlockBreakHandler.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps authored Feb 4, 2025
1 parent 49aa198 commit 0b2a8d2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/player/SurvivalBlockBreakHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ private function calculateBreakProgressPerTick() : float{
if(!$this->block->getBreakInfo()->isBreakable()){
return 0.0;
}

$breakTimePerTick = $this->block->getBreakInfo()->getBreakTime($this->player->getHotbar()->getHeldItem()) * 20;
if(!$this->player->isOnGround() && !$this->player->isFlying()){
$breakTimePerTick *= 5;
Expand Down

0 comments on commit 0b2a8d2

Please sign in to comment.