Merge pull request #277 from fragmer/master

IRC Spam begin
Fix for regression that caused ClassCastException after joining multiplayer.