This commit is contained in:
2024-08-05 10:12:32 +02:00
parent ba384d79d8
commit 61c5a0e489
20 changed files with 1035 additions and 189 deletions

View File

@@ -218,9 +218,10 @@ function spawnParticle(
) {
//check if the chunk is loaded
const chunk = world.getDimension("overworld").getBlock(position);
if (!chunk?.isValid) {
if (!chunk?.isValid()) {
return;
}
map.setVector3("variable.direction", vector3(0, 0, 0));
const dimension = world.getDimension("overworld");
if (dimension) {