#setdynamicproperty

1 messages · Page 1 of 1 (latest)

kindred whale
#

What's the error exactly?

amber marten
#

go to the main code where you cann the database and import it inside a world load

#

like this

#
import {
  world,
  system
} from "@minecraft/server";
world.afterEvents.worldLoad.subscribe(() => {
  import("./dataBaseFile.js").then(({ Database }) => {
//your main code goes here
})```