Break Block's dependence on ItemFactory, and item legacy IDs

let's GOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
This commit is contained in:
Dylan K. Taylor
2022-07-02 17:29:28 +01:00
parent 9740891a2f
commit 323c563684
9 changed files with 113 additions and 73 deletions

View File

@@ -399,7 +399,7 @@ class Item implements \JsonSerializable{
}
public function isNull() : bool{
return $this->count <= 0 || $this->getId() === ItemIds::AIR;
return $this->count <= 0;
}
/**