Restore biome data loading for non-normal (Bukkit is fixed), fix trap

This commit is contained in:
Mike Primm 2011-10-07 23:34:59 +08:00 committed by mikeprimm
parent abf909e047
commit 9e55509e62
2 changed files with 10 additions and 10 deletions

View file

@ -94,7 +94,7 @@ public class TexturePackHDShader implements HDShader {
c = new Color();
scaledtp = tp.resampleTexturePack(map.getPerspective().getModelScale());
/* Biome raw data only works on normal worlds at this point */
do_biome_shading = biome_shaded && (cache.getWorld().getEnvironment() == Environment.NORMAL);
do_biome_shading = biome_shaded; // && (cache.getWorld().getEnvironment() == Environment.NORMAL);
do_swamp_shading = do_biome_shading && swamp_shaded;
do_water_shading = do_biome_shading && waterbiomeshaded;
}