Anvils aren't non-solid, they are transparent

solid and transparent are not mutually exclusive!
This commit is contained in:
Dylan K. Taylor 2017-10-13 10:22:22 +01:00
parent 4b5040dcc7
commit e3567faa94

View File

@ -38,14 +38,14 @@ class Anvil extends Fallable{
protected $id = self::ANVIL;
public function isSolid() : bool{
return false;
}
public function __construct(int $meta = 0){
$this->meta = $meta;
}
public function isTransparent() : bool{
return true;
}
public function getHardness() : float{
return 5;
}