Improved the option to cancel handling events

This commit is contained in:
Shoghi Cervantes Pueyo 2012-12-26 12:04:44 +01:00
parent 6742273644
commit 00fea6461c

View File

@ -210,7 +210,9 @@ class PocketMinecraftServer extends stdClass{
}
}
$handlers->finalize();
$this->trigger($event, $data);
if($result !== false){
$this->trigger($event, $data);
}
return $result;
}