Removed 'registerEvents' so it can be done on both sides in the main mod