mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 21:25:46 +01:00
Merge pull request #350 from mikeprimm/master
Fix biome shading on normal worlds
This commit is contained in:
commit
98dee3b404
@ -87,7 +87,7 @@ public class TexturePackHDShader implements HDShader {
|
|||||||
c = new Color();
|
c = new Color();
|
||||||
scaledtp = tp.resampleTexturePack(map.getPerspective().getModelScale());
|
scaledtp = tp.resampleTexturePack(map.getPerspective().getModelScale());
|
||||||
/* Biome raw data only works on normal worlds at this point */
|
/* 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);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Get our shader
|
* Get our shader
|
||||||
|
Loading…
Reference in New Issue
Block a user