We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a11fe8d commit c38c490Copy full SHA for c38c490
src/JavierLeon9966/Alias/Alias.php
@@ -37,7 +37,7 @@ public function onEnable(): void{
37
$this->getLogger()->error($e->getMessage());
38
throw new DisablePluginException;
39
}
40
- if(!class_exists(MarshalTrait::class)){
+ if(!trait_exists(MarshalTrait::class)){
41
$this->getLogger()->error('Virion \'libMarshal\' not found. Please download Alias from Poggit-CI.');
42
43
0 commit comments