diff --git a/src/classes/material/Item.php b/src/classes/material/Item.php index 4725f76c0..d996527bd 100644 --- a/src/classes/material/Item.php +++ b/src/classes/material/Item.php @@ -50,7 +50,7 @@ class Item{ $this->meta = (int) $meta; $this->count = (int) $count; $this->name = $name; - if(!isset($this->block) and isset(Block::$class[$this->id])){ + if(!isset($this->block) and $this->id <= 0xff and isset(Block::$class[$this->id])){ $this->block = BlockAPI::get($this->id, $this->meta); $this->name = $this->block->getName(); }