Fix a server crash relating to a client-side only class initialization

The PacketHandler has an if/else block containing a reference to the client-side only Minecraft class. This fix changes that block to a method call to the currently loaded proxy, which fixes the problem!