1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-07-11 20:35:15 +00:00

Set a default value 0 for tick counter ()

This commit is contained in:
jojoe77777 2017-06-17 21:42:42 +10:00 committed by Dylan K. Taylor
parent e3b3f60c66
commit e9a638d84a

@ -155,7 +155,7 @@ class Server{
*
* @var int
*/
private $tickCounter;
private $tickCounter = 0;
private $nextTick = 0;
private $tickAverage = [20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20];
private $useAverage = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];