You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried Structure Importer plugin, and it doesn't work on newer version.
I tried it in 4.9.4, and it works there. My guess is that the issue stems from Electron version update. The root of the problem is that in older versions, whenever <input type="file"/> selects a file, it could have access to path property that points out to the full path of the file on the disk, and in newer versions, the path property is no longer available from FileList.
If I could get insight on how to fix this bug, I could patch it, and submit a PR, but I really don't want to rewrite the entire dialog to use proper functions to pick the path to NBT file... 😅
Thank you for attention!
The text was updated successfully, but these errors were encountered:
I've tried Structure Importer plugin, and it doesn't work on newer version.
I tried it in 4.9.4, and it works there. My guess is that the issue stems from Electron version update. The root of the problem is that in older versions, whenever
<input type="file"/>
selects a file, it could have access topath
property that points out to the full path of the file on the disk, and in newer versions, thepath
property is no longer available fromFileList
.If I could get insight on how to fix this bug, I could patch it, and submit a PR, but I really don't want to rewrite the entire dialog to use proper functions to pick the path to NBT file... 😅
Thank you for attention!
The text was updated successfully, but these errors were encountered: