Typo fix (#5)

This commit is contained in:
iPocket 2016-10-01 18:07:00 +02:00 committed by Dylan K. Taylor
parent 9a379734ba
commit ee4854d07c

View File

@ -154,7 +154,7 @@ namespace pocketmine {
//If system timezone detection fails or timezone is an invalid value. //If system timezone detection fails or timezone is an invalid value.
if($response = Utils::getURL("http://ip-api.com/json") if($response = Utils::getURL("http://ip-api.com/json")
and $ip_geolocation_data = json_decode($response, true) and $ip_geolocation_data = json_decode($response, true)
and $ip_geolocation_data['status'] != 'fail' and $ip_geolocation_data['status'] !== 'fail'
and date_default_timezone_set($ip_geolocation_data['timezone']) and date_default_timezone_set($ip_geolocation_data['timezone'])
){ ){
//Again, for redundancy. //Again, for redundancy.