mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Fix for torches
This commit is contained in:
parent
cf5d8e5009
commit
0cb8f28122
2 changed files with 2 additions and 2 deletions
|
|
@ -297,7 +297,7 @@ class Player{
|
|||
break;
|
||||
case MC_REQUEST_CHUNK:
|
||||
$this->actionQueue('
|
||||
$max = max(1, floor(($this->MTU - 16 - 255) / 192) - 1);
|
||||
$max = max(1, floor(($this->MTU - 16 - 255) / 192));
|
||||
$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