fixed edge cases for event parameters when changing code, would have made me want to destroy the world if this didn't work.