Added methods for adding custom names directly to items

This commit is contained in:
Shoghi Cervantes
2015-08-06 21:09:37 +02:00
parent 091d0b3ff9
commit 554bfb4855
5 changed files with 162 additions and 25 deletions

View File

@ -1661,7 +1661,7 @@ class Level implements ChunkManager, Metadatable{
return true;
}
if($item->isPlaceable()){
if($item->canBePlaced()){
$hand = $item->getBlock();
$hand->position($block);
}elseif($block->getId() === Item::FIRE){