PluginBase: fixed erroneous replacement

This commit is contained in:
Dylan K. Taylor 2023-11-14 13:04:14 +00:00
parent 13f34a500c
commit 69f197dbec
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -152,7 +152,7 @@ abstract class PluginBase implements Plugin, CommandExecutor{
}
$newCmd = new PluginCommand($key, $this, $this);
if(($description = $data->description) !== null){
if(($description = $data->getDescription()) !== null){
$newCmd->setDescription($description);
}