Removed unnecessary methods Block->canBeActivated() and Item->canBeActivated() (needless extra confusion)

This commit is contained in:
Dylan K. Taylor
2017-02-22 11:48:58 +00:00
parent 036663e0b5
commit 6ae24c5c19
25 changed files with 3 additions and 104 deletions

View File

@ -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", [