mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
PluginBase: fixed erroneous replacement
This commit is contained in:
parent
13f34a500c
commit
69f197dbec
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user