Fix forge 1.15.2->1.16.5, Fabric 0.16.0+, and migration issues with Forge (#2232)

* Fix Forge versions, newer fabric, migration breakage

* lint

* fix lint
This commit is contained in:
Geometrically
2024-08-21 21:24:35 -07:00
committed by GitHub
parent 4d0407a3b3
commit 157c27c20d
11 changed files with 84 additions and 45 deletions

View File

@@ -8,14 +8,14 @@ export const useError = defineStore('errorsStore', {
setErrorModal(ref) {
this.errorModal = ref
},
showError(error, closable = true, source = null) {
this.errorModal.show(error, closable, source)
showError(error, context, closable = true, source = null) {
this.errorModal.show(error, context, closable, source)
},
},
})
export const handleSevereError = (err) => {
export const handleSevereError = (err, context) => {
const error = useError()
error.showError(err)
error.showError(err, context)
console.error(err)
}