From d907222e41b88136420fb1861d9e32f201ed7892 Mon Sep 17 00:00:00 2001
From: SofianeLasri <alasri250@gmail.com>
Date: Fri, 14 Jan 2022 19:01:18 +0100
Subject: [PATCH] bad syntax

---
 core/classes/Item.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/classes/Item.php b/core/classes/Item.php
index 47681984..97a60894 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])){
-- 
GitLab