mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Removed unnecessary methods Block->canBeActivated() and Item->canBeActivated() (needless extra confusion)
This commit is contained in:
@ -38,10 +38,6 @@ class SpawnEgg extends Item{
|
||||
parent::__construct(self::SPAWN_EGG, $meta, $count, "Spawn Egg");
|
||||
}
|
||||
|
||||
public function canBeActivated(){
|
||||
return true;
|
||||
}
|
||||
|
||||
public function onActivate(Level $level, Player $player, Block $block, Block $target, $face, $fx, $fy, $fz){
|
||||
$nbt = new CompoundTag("", [
|
||||
new ListTag("Pos", [
|
||||
|
Reference in New Issue
Block a user