minor fix

This commit is contained in:
kremsy
2017-05-08 23:28:37 +02:00
parent 84b884154c
commit d22751d812
2 changed files with 4 additions and 4 deletions

View File

@ -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;
}