SpigotMC/Spigot — pull request #86 by dmulloy2 (2013-12-22 23:48:59+00:00)
Title: Fix Biome Decoration Crashes

This pull request fixes crashes related to biome generation and decoration. Basically, a check is inserted, which checks to make sure the chunk is loaded before we attempt to get the highest block y. If the chunk was not loaded, it would return 0 and cause the server to crash with an IllegalArgumentException. Once we are done decorating the biome, the chunks we forcefully loaded are unloaded.