BasePlugin is supposed to have access to game events, but I get “undefined is not an object” when I try to access it.
Looking at this. See the start() function.
Here’s a fiddle:
BasePlugin is supposed to have access to game events, but I get “undefined is not an object” when I try to access it.
Looking at this. See the start() function.
Here’s a fiddle:
Show your code please.
line37 super('RandomNamePlugin', pluginManager)
might be incorrect. It ought to be super(pluginManager)
, see source code of BasePlugin.js
Oh I missed it. Yes it should be super(pluginManager)
.
Yup that was it. Thanks!