MinecraftForge/MinecraftForge — pull request #50 by newthead (2012-04-16 07:29:54+00:00)
Title: Fixed error when using custom chunk generators that place block IDs > 127.

The Chunk constructor passed signed bytes as ints to the WIP ExtendedBlockStorage class. The values are then used as indices into the Block.blocksList array. This patch properly casts the signed bytes to integers as unsigned, ensuring that block IDs are always >= 0.