I don't have a copy of Blockland so I can't actually crack it open and test this for you, but what you're saying doesn't make sense. If echo shows 5 lines and getLineCount() returns 4 and refuses to read a line over 3, then you've discovered a bug and you'll have to find a new way to do it. Personally I think you should just parse it onLine(%this, %line) rather than parsing it after it disconnects. Then you don't have to deal with getLine, or storing the data, at all.