Added bad connection message

This commit is contained in:
Shoghi Cervantes Pueyo 2012-12-14 14:46:19 +01:00
parent 4e6949e518
commit f1b2bc248f

View File

@ -338,6 +338,9 @@ class Session{
}
}
$this->eventHandler($this->server->motd, "onChat");
if($this->MTU <= 548){
$this->eventHandler("Your connection is bad, you may experience lag and slow map loading.", "onChat");
}
break;
case MC_MOVE_PLAYER:
if(is_object($this->entity)){