mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 20:49:43 +00:00
Fixed async thread get
This commit is contained in:
parent
3fb99e118c
commit
c00bfe3908
1 changed files with 1 additions and 1 deletions
|
|
@ -244,7 +244,7 @@ class PocketMinecraftServer{
|
||||||
case ASYNC_CURL_GET:
|
case ASYNC_CURL_GET:
|
||||||
case ASYNC_CURL_POST:
|
case ASYNC_CURL_POST:
|
||||||
$len = Utils::readInt(substr($this->asyncThread->output, $offset, 4));
|
$len = Utils::readInt(substr($this->asyncThread->output, $offset, 4));
|
||||||
$offset += 2;
|
$offset += 4;
|
||||||
$data["result"] = substr($this->asyncThread->output, $offset, $len);
|
$data["result"] = substr($this->asyncThread->output, $offset, $len);
|
||||||
$offset += $len;
|
$offset += $len;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue