Im trying to do world.getDimension("overworld").runCommand(`fill x -64 z x 320 z barrier replace air`); I think the problem is that the chunks arent loaded, im wondering if its possible to load the chunks or have another workaround for this to work.
I am trying to do this in order to act as a barrier to prevent lava casting on my skyblock world. If you know any other ways to prevent lava casting over to other player's plots then I would heavily appreciate it.