mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Tile: Fill defaults and move code to constructors where appropriate
this is leftovers from when NBT was required to construct a tile.
This commit is contained in:
@@ -32,7 +32,7 @@ use pocketmine\nbt\tag\StringTag;
|
||||
*/
|
||||
trait NameableTrait{
|
||||
/** @var string|null */
|
||||
private $customName;
|
||||
private $customName = null;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
|
Reference in New Issue
Block a user