Prevent hacked mob eggs from crashing the client.