item: populate missing return type information

This commit is contained in:
Dylan K. Taylor
2020-01-19 17:13:33 +00:00
parent 11cae2f0c0
commit e6ba3ce8a6
4 changed files with 17 additions and 0 deletions

View File

@ -42,6 +42,8 @@ abstract class Durable extends Item{
* Sets whether the item will take damage when used.
*
* @param bool $value
*
* @return void
*/
public function setUnbreakable(bool $value = true){
$this->setNamedTagEntry(new ByteTag("Unbreakable", $value ? 1 : 0));