mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Break Block's dependence on ItemFactory, and item legacy IDs
let's GOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
This commit is contained in:
@@ -399,7 +399,7 @@ class Item implements \JsonSerializable{
|
||||
}
|
||||
|
||||
public function isNull() : bool{
|
||||
return $this->count <= 0 || $this->getId() === ItemIds::AIR;
|
||||
return $this->count <= 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user