Small change
This commit is contained in:
parent
f88506f654
commit
69ae8ed33e
1 changed files with 2 additions and 0 deletions
|
@ -30,12 +30,14 @@ public class CustomBackgroundRenderer {
|
|||
FogType fogType = camera.getFluidInCamera();
|
||||
|
||||
if (fogType == FogType.WATER || fogType == FogType.LAVA || fogMode != FogMode.FOG_SKY) {
|
||||
BackgroundInfo.fogDensity = 1;
|
||||
return false;
|
||||
}
|
||||
|
||||
Entity entity = camera.getEntity();
|
||||
|
||||
if (shouldIgnore(entity.level, (int) entity.getX(), (int) entity.getEyeY(), (int) entity.getZ())) {
|
||||
BackgroundInfo.fogDensity = 1;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue