Enchantment: Implement Silk Touch (#1912)

This commit is contained in:
Dylan K. Taylor
2018-01-14 13:37:27 +00:00
committed by GitHub
parent 96f6362117
commit 8d7c65585c
18 changed files with 92 additions and 2 deletions

View File

@ -90,4 +90,8 @@ class NetherWartPlant extends Flowable{
ItemFactory::get($this->getItemId(), 0, ($this->getDamage() === 3 ? mt_rand(2, 4) : 1))
];
}
public function isAffectedBySilkTouch() : bool{
return false;
}
}