Skip to content
Snippets Groups Projects
Commit b7e93fa7 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

test

parent 76d38f19
Branches
No related tags found
Loading
...@@ -41,6 +41,7 @@ public function getId(){ ...@@ -41,6 +41,7 @@ public function getId(){
} }
public function getTexture(){ public function getTexture(){
$texture = array(); $texture = array();
echo "data/images/textures/block/".$this->id.".png";
if(file_exists("data/images/textures/block/".$this->id.".png")){ 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")){ if(file_exists("data/images/textures/block/".$this->id."_top.png")){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment