mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 03:08:58 +00:00
Save correct NBT Compound tag on Level chunk save
This commit is contained in:
parent
5241d8ff13
commit
980ee223d0
@ -239,6 +239,7 @@ class Level{
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
foreach($this->chunkEntities[$index] as $entity){
|
foreach($this->chunkEntities[$index] as $entity){
|
||||||
if($entity->closed !== true){
|
if($entity->closed !== true){
|
||||||
|
$nbt->Entities[$i]->saveNBT();
|
||||||
$nbt->Entities[$i] = $entity->namedtag;
|
$nbt->Entities[$i] = $entity->namedtag;
|
||||||
++$i;
|
++$i;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user