mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Removed useless confusing array indices in CompoundTag constructors (#1116)
This commit is contained in:
@ -123,7 +123,7 @@ abstract class BaseLevelProvider implements LevelProvider{
|
||||
public function saveLevelData(){
|
||||
$nbt = new NBT(NBT::BIG_ENDIAN);
|
||||
$nbt->setData(new CompoundTag("", [
|
||||
"Data" => $this->levelData
|
||||
$this->levelData
|
||||
]));
|
||||
$buffer = $nbt->writeCompressed();
|
||||
file_put_contents($this->getPath() . "level.dat", $buffer);
|
||||
|
Reference in New Issue
Block a user