Skip to content

Commit c38c490

Browse files
Fixed plugin not enabling
Fixes #9
1 parent a11fe8d commit c38c490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JavierLeon9966/Alias/Alias.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function onEnable(): void{
3737
$this->getLogger()->error($e->getMessage());
3838
throw new DisablePluginException;
3939
}
40-
if(!class_exists(MarshalTrait::class)){
40+
if(!trait_exists(MarshalTrait::class)){
4141
$this->getLogger()->error('Virion \'libMarshal\' not found. Please download Alias from Poggit-CI.');
4242
throw new DisablePluginException;
4343
}

0 commit comments

Comments
 (0)