small dedi fix

This commit is contained in:
kremsy 2014-02-24 22:43:01 +01:00 committed by Steffen Schröder
parent c50d42f322
commit c6f19c8797

View File

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