mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 02:42:58 +00:00
Removed unnecessary methods Block->canBeActivated() and Item->canBeActivated() (needless extra confusion)
This commit is contained in:
@ -43,10 +43,6 @@ class ItemFrame extends Flowable{
|
||||
return "Item Frame";
|
||||
}
|
||||
|
||||
public function canBeActivated(){
|
||||
return true;
|
||||
}
|
||||
|
||||
public function onActivate(Item $item, Player $player = null){
|
||||
$tile = $this->level->getTile($this);
|
||||
if(!($tile instanceof TileItemFrame)){
|
||||
|
Reference in New Issue
Block a user