mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixes #2155
This commit is contained in:
parent
9abd2c63f4
commit
cd65179aef
@ -176,6 +176,11 @@ namespace pocketmine {
|
||||
//Detect the Time Zone string in systeminfo
|
||||
preg_match($regex, $string, $matches);
|
||||
|
||||
if(!isset($matches[2]))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
$offset = $matches[2];
|
||||
|
||||
if($offset == ""){
|
||||
|
Loading…
x
Reference in New Issue
Block a user