Wickth/TerrainControl — pull request #233 by LolNO (2013-12-24 18:47:42+00:00)
Title: Fixed ArrayIndexOutOfBoundException

For z = x % y;
it makes no sense to do
if(z < y)
because z will always be smaller than y.

It was obviously for handling negative values, and for that reason the author must have ment
if(z < 0)
The original code throws a ArrayIndexOutOfBoundsException at this.biomeMap[*], which this commit fixes.