Fix grass disappearing when alwaysSetupTerrainOffThread is true (#7291)
This commit is contained in:
parent
0f923fa51f
commit
65372e3123
1 changed files with 9 additions and 0 deletions
|
@ -120,6 +120,15 @@
|
||||||
float f = this.field_72769_h.func_239132_a_().func_239213_a_();
|
float f = this.field_72769_h.func_239132_a_().func_239213_a_();
|
||||||
if (!Float.isNaN(f)) {
|
if (!Float.isNaN(f)) {
|
||||||
RenderSystem.disableCull();
|
RenderSystem.disableCull();
|
||||||
|
@@ -1792,7 +1814,7 @@
|
||||||
|
|
||||||
|
while(iterator.hasNext()) {
|
||||||
|
ChunkRenderDispatcher.ChunkRender chunkrenderdispatcher$chunkrender = iterator.next();
|
||||||
|
- if (chunkrenderdispatcher$chunkrender.func_188281_o()) {
|
||||||
|
+ if (!net.minecraftforge.common.ForgeConfig.CLIENT.alwaysSetupTerrainOffThread.get() && chunkrenderdispatcher$chunkrender.func_188281_o()) {
|
||||||
|
this.field_174995_M.func_228902_a_(chunkrenderdispatcher$chunkrender);
|
||||||
|
} else {
|
||||||
|
chunkrenderdispatcher$chunkrender.func_228929_a_(this.field_174995_M);
|
||||||
@@ -2076,7 +2098,12 @@
|
@@ -2076,7 +2098,12 @@
|
||||||
this.field_175008_n.func_217628_a(p_215319_1_, p_215319_2_, p_215319_3_, p_215319_4_);
|
this.field_175008_n.func_217628_a(p_215319_1_, p_215319_2_, p_215319_3_, p_215319_4_);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue