mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 19:34:15 +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);
|
$newCmd = new PluginCommand($key, $this, $this);
|
||||||
if(($description = $data->description) !== null){
|
if(($description = $data->getDescription()) !== null){
|
||||||
$newCmd->setDescription($description);
|
$newCmd->setDescription($description);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user