Small bug fixes (plugin system)

This commit is contained in:
DJj123dj
2025-01-07 19:36:29 +01:00
parent e65a092bc0
commit abd672dd3b
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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.
+2 -2
View File
@@ -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)
}
}