mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-12 14:35:35 +00:00
Typo fix (#5)
This commit is contained in:
parent
9a379734ba
commit
ee4854d07c
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user