mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Added methods for adding custom names directly to items
This commit is contained in:
@ -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){
|
||||
|
Reference in New Issue
Block a user