Skip to content

Commit

Permalink
Bells always drops themselves (pmmp#4802)
Browse files Browse the repository at this point in the history
  • Loading branch information
NTT1906 authored Jul 7, 2024
1 parent 20f5741 commit 68d2e29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/block/Bell.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ public function ring(int $faceHit) : void{
}
}

public function getDropsForIncompatibleTool(Item $item) : array{
return [$this->asItem()];
}

private function isValidFaceToRing(int $faceHit) : bool{
return match($this->attachmentType){
BellAttachmentType::CEILING => true,
Expand Down

0 comments on commit 68d2e29

Please sign in to comment.