mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Faster SQLite
This commit is contained in:
parent
ab3862446c
commit
adb795be22
2 changed files with 17 additions and 9 deletions
|
|
@ -93,8 +93,8 @@ class ChunkParser{
|
|||
}
|
||||
$chunk = "";
|
||||
foreach($this->map[$X][$Z] as $section => $data){
|
||||
foreach($data as $r){
|
||||
$chunk .= $r;
|
||||
for($i = 0; $i < 256; ++$i){
|
||||
$chunk .= $data[$i];
|
||||
}
|
||||
}
|
||||
return Utils::writeLInt(strlen($chunk)).$chunk;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue