[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() {
|
get goosemodHandlers() {
|
||||||
return {
|
return {
|
||||||
onImport: this.startPlugin,
|
onImport: this.startPlugin.bind(this),
|
||||||
onRemove: this.pluginWillUnload
|
onRemove: this.pluginWillUnload.bind(this)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue