From af9f1c3d014ee559f9d8a1726a3587a332c751df Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Thu, 20 Dec 2012 19:37:33 +0100 Subject: [PATCH] Fix for no-sent map chunks --- classes/Session.class.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/classes/Session.class.php b/classes/Session.class.php index 3ea0103b4..3e66f97ec 100644 --- a/classes/Session.class.php +++ b/classes/Session.class.php @@ -77,10 +77,6 @@ class Session{ } } - function __destruct(){ - //$this->close("destruct"); - } - public function save(){ if(is_object($this->entity)){ $this->data["spawn"] = array( @@ -308,7 +304,7 @@ class Session{ "x" => '.$data["x"].', "z" => '.$data["z"].', "data" => $d, - ), true); + )); } '); console("[INTERNAL] Chunk X ".$data["x"]." Z ".$data["z"]." requested", true, true, 3);