Changed speed check

This commit is contained in:
Shoghi Cervantes 2013-06-09 16:36:44 +02:00
parent cbe0692696
commit fef0b27f7c
4 changed files with 9 additions and 5 deletions

View file

@ -175,7 +175,7 @@ class PocketMinecraftServer{
return $info;
}
public function close($reason = "stop"){
public function close($reason = "server stop"){
if($this->stop !== true){
if(is_int($reason)){
$reason = "signal stop";