mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Fix plugin crashes when attempting to get metadata of offline players
This commit is contained in:
parent
e143fb80da
commit
fbe17344fb
@ -21,12 +21,12 @@
|
||||
|
||||
namespace pocketmine;
|
||||
|
||||
|
||||
use pocketmine\metadata\Metadatable;
|
||||
use pocketmine\metadata\MetadataValue;
|
||||
use pocketmine\nbt\tag\CompoundTag;
|
||||
use pocketmine\plugin\Plugin;
|
||||
|
||||
class OfflinePlayer implements IPlayer{
|
||||
class OfflinePlayer implements IPlayer, Metadatable{
|
||||
|
||||
private $name;
|
||||
private $server;
|
||||
|
Loading…
x
Reference in New Issue
Block a user