[PCCompat > Entities] Plugin: fix handlers not being binded to this correctly

This commit is contained in:
Ducko 2021-04-05 11:15:50 +01:00 committed by Keanu
parent 36f2c81c89
commit d075c67250
Signed by: keanucode
GPG Key ID: A7431C0D513CA93B
1 changed files with 2 additions and 2 deletions

View File

@ -57,8 +57,8 @@ export class Plugin {
get goosemodHandlers() {
return {
onImport: this.startPlugin,
onRemove: this.pluginWillUnload
onImport: this.startPlugin.bind(this),
onRemove: this.pluginWillUnload.bind(this)
};
}
}