Set a default value 0 for tick counter (#1108)

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

View File

@ -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];