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
No related merge requests found
......@@ -41,6 +41,7 @@ public function getId(){
}
public function getTexture(){
$texture = array();
echo "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";
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 register or to comment