js-minecraft
js-minecraft copied to clipboard
Fix loading error
Fixes loading by using class constructors
What kind of error do you get? The TagRegistry is completely static and shouldn't require a constructor
What kind of error do you get? The TagRegistry is completely static and shouldn't require a constructor
Safari will return an error if it isn't a constructor.
Just tested it on Safari/macOS and Safari/iOS. It works without any issues
It gives me this error @LabyStudio
I am on macOS Monterey (12.5) MacBook Air (M1, 2020)
And when I changed it to a constructor it seemed to fix it.