{"action":"closed","issue":{"url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/2561","labels_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/2561/labels{/name}","comments_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/2561/comments","events_url":"https://api.github.com/repos/PocketMine/PocketMine-MP/issues/2561/events","html_url":"https://github.com/PocketMine/PocketMine-MP/issues/2561","id":55399268,"number":2561,"title":"Console is spammed with => Could not tick level worldName: Trying to get property of non -object","user":{"login":"iJoshuaHD","id":6231356,"avatar_url":"https://avatars.githubusercontent.com/u/6231356?v=3","gravatar_id":"","url":"https://api.github.com/users/iJoshuaHD","html_url":"https://github.com/iJoshuaHD","followers_url":"https://api.github.com/users/iJoshuaHD/followers","following_url":"https://api.github.com/users/iJoshuaHD/following{/other_user}","gists_url":"https://api.github.com/users/iJoshuaHD/gists{/gist_id}","starred_url":"https://api.github.com/users/iJoshuaHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iJoshuaHD/subscriptions","organizations_url":"https://api.github.com/users/iJoshuaHD/orgs","repos_url":"https://api.github.com/users/iJoshuaHD/repos","events_url":"https://api.github.com/users/iJoshuaHD/events{/privacy}","received_events_url":"https://api.github.com/users/iJoshuaHD/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-25T05:43:02Z","updated_at":"2015-01-25T07:44:47Z","closed_at":"2015-01-25T07:44:47Z","body":"I turned on debug mode and got this data below:\r\n\r\n-------------------------------------------------------------------------------------------------------------\r\n05:36:27 [NOTICE] InvalidStateException: \"Trying to get property of non-object\"\r\n(E_NOTICE) in \"/src/pocketmine/Player\" at line 1244\r\n05:36:27 [DEBUG] #0 /src/pocketmine/level/Level(515): pocketmine\\Player->onUpdat\r\ne(integer 226)\r\n05:36:27 [DEBUG] #1 /src/pocketmine/Server(2182): pocketmine\\level\\Level->doTick\r\n(integer 226)\r\n05:36:27 [DEBUG] #2 /src/pocketmine/Server(2282): pocketmine\\Server->checkTickUp\r\ndates(integer 226)\r\n05:36:27 [DEBUG] #3 /src/pocketmine/Server(2168): pocketmine\\Server->tick()\r\n05:36:27 [DEBUG] #4 /src/pocketmine/Server(2044): pocketmine\\Server->tickProcess\r\nor()\r\n05:36:27 [DEBUG] #5 /src/pocketmine/Server(1758): pocketmine\\Server->start()\r\n05:36:27 [DEBUG] #6 /src/pocketmine/PocketMine(437): pocketmine\\Server->__constr\r\nuct(pocketmine\\CompatibleClassLoader object, pocketmine\\utils\\MainLogger object,\r\n string phar:///imcpe/v3/PocketMine-MP.phar/, string /imcpe/v3/, string /imcpe/v\r\n3/plugins/)\r\n05:36:27 [DEBUG] #7 (1): require(string phar:///imcpe/v3/PocketMine-MP.phar/src/\r\npocketmine/PocketMine.php)\r\n05:36:27 [CRITICAL] Could not tick level Factions: Trying to get property of non\r\n-object\r\n05:36:27 [NOTICE] InvalidStateException: \"Trying to get property of non-object\"\r\n(E_NOTICE) in \"/src/pocketmine/Player\" at line 1244\r\n\r\n-----------------------------------------------------------------------------------------------------------------------\r\nSo i checked this: https://github.com/PocketMine/PocketMine-MP/blob/master/src/pocketmine/Player.php#L1244\r\nwhich happens to be ++$this->inAirTicks;\r\n\r\nim not sure whats wrong with this."}}