diff --git a/core/classes/Item.php b/core/classes/Item.php index 47681984482e16508c68c03cc55b900cecef35f7..97a608942d25f035cf1481f7be75484052758e7e 100644 --- a/core/classes/Item.php +++ b/core/classes/Item.php @@ -42,14 +42,14 @@ public function getId(){ public function getTexture(){ $texture = array(); if(file_exists("data/images/textures/block/".$this->id.".png")){ - $texture[0] "data/images/textures/block/".$this->id.".png"; + $texture[0] = "data/images/textures/block/".$this->id.".png"; if(file_exists("data/images/textures/block/".$this->id."_top.png")){ - $texture[1] "data/images/textures/block/".$this->id."_top.png"; + $texture[1] = "data/images/textures/block/".$this->id."_top.png"; } }elseif(file_exists("data/images/textures/item/".$this->id.".png")){ - $texture[0] "data/images/textures/item/".$this->id.".png"; + $texture[0] = "data/images/textures/item/".$this->id.".png"; }else{ - $texture[0] "data/images/textures/missing.png"; + $texture[0] = "data/images/textures/missing.png"; } if(!isset($texture[1])){