mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-18 15:05:56 +00:00
also sort table by ID
This commit is contained in:
parent
c876253f76
commit
a08b06d322
@ -901,6 +901,7 @@ function cmdDumpTable(array $argv) : int{
|
||||
}
|
||||
|
||||
$table = loadUpgradeTableFromFile($tableFile, reverse: false);
|
||||
ksort($table, SORT_STRING);
|
||||
|
||||
foreach(Utils::stringifyKeys($table) as $oldName => $mappings){
|
||||
fwrite($output, "---------- MAPPING LIST: $oldName ----------\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user