minor fix
This commit is contained in:
1 parent
84b884154c
commit
d22751d812
2 files changed
+4
-4
No files matched your search
@@ -306,7 +306,7 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
|
||||
$data = $this->decode($data);
|
||||
|
||||
//Data[0][0] can be false in error case like map has no checkpoints
|
||||
if (!is_array($data) || empty($data) || $data[0][0] == false) {
|
||||
if (!is_array($data) || empty($data) || !isset($data[0]) || !isset($data[0][0]) || $data[0][0] == false) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user