mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Fixed item in hand in creative mode, player files are now readable by Minecraft PC
This commit is contained in:
@ -674,6 +674,7 @@ class Server{
|
||||
$nbt = new NBT(NBT::BIG_ENDIAN);
|
||||
$nbt->setData($nbtTag);
|
||||
file_put_contents($this->getDataPath() . "players/" . strtolower($name) . ".dat", $nbt->writeCompressed());
|
||||
file_put_contents($this->getDataPath() . "players/" . strtolower($name) . ".raw.dat", $nbt->write());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user