Fix offline mode!

So this should finally fix offline mode for 1.7.2!
I tested this out with 1.6.4 online, 1.6.4 offline, 1.7.2 online and 1.7.2 offline.
It may only be a few lines, but it took a long while to figure out :D 

Thanks for considering! :)