mirror of
https://github.com/NovaGM/ModuleBuilder.git
synced 2024-08-15 00:23:33 +00:00
[PCCompat > Entities] Plugin: fix handlers not being binded to this correctly
This commit is contained in:
parent
36f2c81c89
commit
d075c67250
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue