mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Merge branch 'next-minor' into next-major
This commit is contained in:
commit
a4494a2133
@ -24,6 +24,7 @@ declare(strict_types=1);
|
|||||||
namespace pocketmine\command\defaults;
|
namespace pocketmine\command\defaults;
|
||||||
|
|
||||||
use pocketmine\command\CommandSender;
|
use pocketmine\command\CommandSender;
|
||||||
|
use pocketmine\lang\KnownTranslationFactory;
|
||||||
use pocketmine\permission\DefaultPermissionNames;
|
use pocketmine\permission\DefaultPermissionNames;
|
||||||
use Symfony\Component\Filesystem\Path;
|
use Symfony\Component\Filesystem\Path;
|
||||||
use function date;
|
use function date;
|
||||||
@ -33,7 +34,7 @@ class DumpMemoryCommand extends VanillaCommand{
|
|||||||
public function __construct(){
|
public function __construct(){
|
||||||
parent::__construct(
|
parent::__construct(
|
||||||
"dumpmemory",
|
"dumpmemory",
|
||||||
"Dumps the memory",
|
KnownTranslationFactory::pocketmine_command_dumpmemory_description(),
|
||||||
"/dumpmemory [path]"
|
"/dumpmemory [path]"
|
||||||
);
|
);
|
||||||
$this->setPermission(DefaultPermissionNames::COMMAND_DUMPMEMORY);
|
$this->setPermission(DefaultPermissionNames::COMMAND_DUMPMEMORY);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user