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() {
|
get goosemodHandlers() {
|
||||||
return {
|
return {
|
||||||
onImport: this.startPlugin,
|
onImport: this.startPlugin.bind(this),
|
||||||
onRemove: this.pluginWillUnload
|
onRemove: this.pluginWillUnload.bind(this)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue