Small bug fixes (plugin system)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# 🎥 Content Creators
|
||||
Hi there! We're searching for content creators to create tutorials & setup guides for Open Ticket.
|
||||
You can get many great rewards from helpin us!
|
||||
You can get many great rewards from helping us!
|
||||
|
||||
You can choose which type of tutorial you want to make. You can create a quick setup, full setup, plugin tutorial or something else!
|
||||
You are not required to talk in the video, but make sure it has some kind of subtitles instead.
|
||||
|
||||
@@ -20,10 +20,10 @@ export class ODPluginManager extends ODManager<ODPlugin> {
|
||||
}
|
||||
|
||||
/**Check if a plugin has loaded successfully.*/
|
||||
isPluginLoaded(id:ODValidId){
|
||||
isPluginLoaded(id:ODValidId): boolean {
|
||||
const newId = new ODId(id)
|
||||
const plugin = this.get(newId)
|
||||
return (plugin && plugin.executed)
|
||||
return (plugin !== null && plugin.executed)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user