maruohon / paintedbiomes

A Minecraft mod which allocates the biomes based on image templates.
GNU General Public License v3.0
13 stars 3 forks source link

Custom biome mappings where the colour is the same integral value as the ID are not recognized #3

Closed JakobOvrum closed 9 years ago

JakobOvrum commented 9 years ago

By default, mod biomes are assigned a colour that is equal to their biome ID, but these are not added to the internal mapping. As a result, if left unchanged from the default colour, they're not recognized, and will fall back to the undefined biome. If I change the colour to something different from the ID, it works correctly.

Does this sound right? Maybe this line should simply be the following?

if (this.useCustomColorMappings == true)