Bells always drops themselves (#4802)

This commit is contained in:
Arie1906 2024-07-08 03:20:45 +07:00 committed by GitHub
parent 20f5741ed7
commit 68d2e2915e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -150,6 +150,10 @@ final class Bell extends Transparent{
}
}
public function getDropsForIncompatibleTool(Item $item) : array{
return [$this->asItem()];
}
private function isValidFaceToRing(int $faceHit) : bool{
return match($this->attachmentType){
BellAttachmentType::CEILING => true,