mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-04 00:59:51 +00:00
Fix for no-sent map chunks
This commit is contained in:
parent
aa8dc63cc5
commit
af9f1c3d01
@ -77,10 +77,6 @@ class Session{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function __destruct(){
|
|
||||||
//$this->close("destruct");
|
|
||||||
}
|
|
||||||
|
|
||||||
public function save(){
|
public function save(){
|
||||||
if(is_object($this->entity)){
|
if(is_object($this->entity)){
|
||||||
$this->data["spawn"] = array(
|
$this->data["spawn"] = array(
|
||||||
@ -308,7 +304,7 @@ class Session{
|
|||||||
"x" => '.$data["x"].',
|
"x" => '.$data["x"].',
|
||||||
"z" => '.$data["z"].',
|
"z" => '.$data["z"].',
|
||||||
"data" => $d,
|
"data" => $d,
|
||||||
), true);
|
));
|
||||||
}
|
}
|
||||||
');
|
');
|
||||||
console("[INTERNAL] Chunk X ".$data["x"]." Z ".$data["z"]." requested", true, true, 3);
|
console("[INTERNAL] Chunk X ".$data["x"]." Z ".$data["z"]." requested", true, true, 3);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user