js-minecraft icon indicating copy to clipboard operation
js-minecraft copied to clipboard

Fix loading error

Open CrazyH2 opened this issue 1 year ago • 4 comments

Fixes loading by using class constructors

CrazyH2 avatar Dec 10 '23 16:12 CrazyH2

What kind of error do you get? The TagRegistry is completely static and shouldn't require a constructor

LabyStudio avatar Jan 26 '24 13:01 LabyStudio

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.

CrazyH2 avatar Jan 26 '24 19:01 CrazyH2

Just tested it on Safari/macOS and Safari/iOS. It works without any issues

LabyStudio avatar Jan 29 '24 15:01 LabyStudio

Screenshot 2024-02-22 at 09 50 35

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.

CrazyH2 avatar Feb 22 '24 09:02 CrazyH2