It calls `world.notify` for the location of the piston base. You're correct that it should only be called if the event is not cancelled. I've moved it down.