[PCCompat > Entities] Plugin: fix handlers not being binded to this correctly
This commit is contained in:
parent
36f2c81c89
commit
d075c67250
|
@ -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)
|
||||
};
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue