mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Correct slab placement
This commit is contained in:
parent
c3eec804f0
commit
f2868f386e
3 changed files with 19 additions and 5 deletions
|
|
@ -297,7 +297,7 @@ class Player{
|
|||
break;
|
||||
case MC_REQUEST_CHUNK:
|
||||
$this->actionQueue('
|
||||
$max = floor(($this->MTU - 16 - 255) / 192);
|
||||
$max = max(1, floor(($this->MTU - 16 - 255) / 192) - 1);
|
||||
$chunk = $this->server->api->level->getOrderedChunk('.$data["x"].', '.$data["z"].', $max);
|
||||
foreach($chunk as $d){
|
||||
$this->dataPacket(MC_CHUNK_DATA, array(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue