Fix autoSave in PlayerQuitEvent

This commit is contained in:
极夜暗芒使 2015-10-31 13:22:45 +08:00
parent 04fc062b2a
commit 4d5da41cd0

View File

@ -36,7 +36,7 @@ class PlayerQuitEvent extends PlayerEvent{
public function __construct(Player $player, $quitMessage, $autoSave = true){ public function __construct(Player $player, $quitMessage, $autoSave = true){
$this->player = $player; $this->player = $player;
$this->quitMessage = $quitMessage; $this->quitMessage = $quitMessage;
$this->autoSave = true; $this->autoSave = $autoSave;
} }
public function setQuitMessage($quitMessage){ public function setQuitMessage($quitMessage){