small dedi fix
This commit is contained in:
parent
c50d42f322
commit
c6f19c8797
@ -263,7 +263,7 @@ class Dedimania implements CallbackListener, TimerListener, Plugin {
|
||||
* @param $callback
|
||||
*/
|
||||
public function handleMapEnd($callback) {
|
||||
if (!$this->dedimaniaData->records) {
|
||||
if (!$this->dedimaniaData || !$this->dedimaniaData->records) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user