Skip to content

Commit

Permalink
Add NoPush setting check for noblockpush (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
Blade-ua authored Jan 17, 2023
1 parent b2921f6 commit c9e2045
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ object Velocity : Module(
}

safeListener<PushOutOfBlocksEvent> {
if (block) it.cancel()
if (noPush && block) it.cancel()
}
}

Expand Down

0 comments on commit c9e2045

Please sign in to comment.