Skip to content
This repository was archived by the owner on Sep 12, 2022. It is now read-only.
This repository was archived by the owner on Sep 12, 2022. It is now read-only.

World does not save the blocks placed using world styler. #24

Description

@rjworks

I use world styler's block iterator and utils to place blocks on my server and when the server restarts, the blocks I placed are gone. i checked if it was the auto save, but no because blocks placed using my hand are saved on restart

$iterator = new BlockIterator($level);
$iterator1->moveTo($x, $y, $z);
$iterator1->currentSubChunk->setBlock($x & 0x0f, $y & 0x0f, $z & 0x0f, 16, 0);
if ($level1 instanceof Level) {
Utils::updateChunks($level1, $posMin->x >> 4, $posMax->x >> 4, $posMin->z >> 4, $posMax->z >> 4);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions