Replaced SideOnly with event.getSide for further functions