Changed how event onHit is carried out.

Change-Id: I47a1d4b7aa1d49b4536c2949a3d49d3e06419b25
Signed-off-by: Chris <lavacraft219@gmail.com>