DumpMemoryCommand: move memory dumps to their own folder

this is for ease of ignoring in IDEs.
This commit is contained in:
Dylan K. Taylor
2018-03-18 12:04:48 +00:00
parent 9d5eeb328e
commit 357674cb54
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ class DumpMemoryCommand extends VanillaCommand{
++self::$executions;
$sender->getServer()->getMemoryManager()->dumpServerMemory($args[1] ?? ($sender->getServer()->getDataPath() . "/memoryDump_$token"), 48, 80);
$sender->getServer()->getMemoryManager()->dumpServerMemory($args[1] ?? ($sender->getServer()->getDataPath() . "/memory_dumps/$token"), 48, 80);
return true;
}
}