Changing the return value of getName

This commit is contained in:
0929hitoshi 2015-09-16 01:21:07 +09:00
parent ed559fdf98
commit 9665dfd63e
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class EnchantTable extends Spawnable implements Nameable{
public function getName(){
return isset($this->namedtag->CustomName) ? $this->namedtag->CustomName->getValue() : "Chest";
return isset($this->namedtag->CustomName) ? $this->namedtag->CustomName->getValue() : "Enchanting Table";
}
public function hasName(){

View File

@ -71,7 +71,7 @@ class Furnace extends Tile implements InventoryHolder, Container, Nameable{
}
public function getName(){
return isset($this->namedtag->CustomName) ? $this->namedtag->CustomName->getValue() : "Chest";
return isset($this->namedtag->CustomName) ? $this->namedtag->CustomName->getValue() : "Furnace";
}
public function hasName(){