Correctly handle paintings

This commit is contained in:
Shoghi Cervantes Pueyo
2013-01-29 22:38:48 +01:00
parent 71b12191b2
commit a7079fc49b
3 changed files with 22 additions and 13 deletions

View File

@@ -76,6 +76,7 @@ class ConsoleAPI{
break;
case "status":
case "lag":
$this->server->debugInfo(true);
$info = $this->server->debugInfo();
console("[INFO] TPS: ".$info["tps"].", Memory usage: ".$info["memory_usage"]." (Peak ".$info["memory_peak_usage"].")");
break;