mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
updated pocketmine/nbt dependency
this is going to need work on exception handling, but right now it's so inconsistent that it doesn't matter anyway.
This commit is contained in:
@ -167,7 +167,7 @@ final class TileFactory{
|
||||
* @internal
|
||||
*/
|
||||
public static function createFromData(World $world, CompoundTag $nbt) : ?Tile{
|
||||
$type = $nbt->getString(Tile::TAG_ID, "", true);
|
||||
$type = $nbt->getString(Tile::TAG_ID, "");
|
||||
if(!isset(self::$knownTiles[$type])){
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user