Made the mod work with multiplayer.

Changed something in the client and common proxy classes.