package Ġcom . github . k is ar ag ie ffect ive . open command block . listener Ċ Ċ import Ġcom . github . k is ar ag ie ffect ive . open command block . event . Command Block Break Event Ċ import Ġcom . github . k is ar ag ie ffect ive . open command block . kotlin magic . extension . fire Ċ import Ġorg . bukkit . block . Command Block Ċ import Ġorg . bukkit . event . EventHandler Ċ import Ġorg . bukkit . event . Listener Ċ import Ġorg . bukkit . event . block . Block Break Event Ċ Ċ object ĠOn Block Break Ġ: ĠListener Ġ{ ĊĠĠĠ Ġ@ EventHandler ĊĠĠĠ Ġfun Ġon Block Break ( e : ĠBlock Break Event ) Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġs Ġ= Ġe . block . state ĊĠĠĠĠĠĠĠ Ġif Ġ( s Ġis ĠCommand Block ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠCommand Block Break Event ( s , Ġe . player ). fire () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ }