Merge pull request #3495 from 0929hitoshi/mcpe-0.12

Changing the return value of getName
This commit is contained in:
Shoghi Cervantes 2015-09-17 09:47:30 +02:00
commit 86c1198648
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class EnchantTable extends Spawnable implements Nameable{
public function getName(){ 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(){ public function hasName(){

View File

@ -71,7 +71,7 @@ class Furnace extends Tile implements InventoryHolder, Container, Nameable{
} }
public function getName(){ 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(){ public function hasName(){