Coremod to assist development of mods by checking that client-side code is only called from client-side methods