Moved Player::buffer

This commit is contained in:
Shoghi Cervantes 2014-03-13 10:51:38 +01:00
parent b24120a863
commit 91c4cbfedb

View File

@ -600,8 +600,6 @@ class Player extends RealHuman{
$this->connected = false; $this->connected = false;
$this->level->freeAllChunks($this); $this->level->freeAllChunks($this);
$this->loggedIn = false; $this->loggedIn = false;
$this->buffer = null;
unset($this->buffer);
$this->recoveryQueue = array(); $this->recoveryQueue = array();
$this->receiveQueue = array(); $this->receiveQueue = array();
$this->resendQueue = array(); $this->resendQueue = array();
@ -623,6 +621,8 @@ class Player extends RealHuman{
$this->craftingItems = array(); $this->craftingItems = array();
$this->received = array(); $this->received = array();
parent::close(); parent::close();
$this->buffer = null;
unset($this->buffer);
} }
} }