mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Bells always drops themselves (#4802)
This commit is contained in:
parent
20f5741ed7
commit
68d2e2915e
@ -150,6 +150,10 @@ final class Bell extends Transparent{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getDropsForIncompatibleTool(Item $item) : array{
|
||||||
|
return [$this->asItem()];
|
||||||
|
}
|
||||||
|
|
||||||
private function isValidFaceToRing(int $faceHit) : bool{
|
private function isValidFaceToRing(int $faceHit) : bool{
|
||||||
return match($this->attachmentType){
|
return match($this->attachmentType){
|
||||||
BellAttachmentType::CEILING => true,
|
BellAttachmentType::CEILING => true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user