ForgePatch/patches/minecraft/net/minecraft/world/gen/NoiseChunkGenerator.java.patch

14 lines
759 B
Diff
Raw Normal View History

--- a/net/minecraft/world/gen/NoiseChunkGenerator.java
+++ b/net/minecraft/world/gen/NoiseChunkGenerator.java
2020-08-13 07:13:48 +00:00
@@ -525,8 +525,8 @@
2020-06-19 14:58:45 +00:00
objectlistiterator1.back(objectlist1.size());
BlockState blockstate = this.func_236086_a_(d18, i2);
if (blockstate != field_222562_i) {
- if (blockstate.func_185906_d() != 0) {
2020-06-19 14:58:45 +00:00
- blockpos$mutable.func_181079_c(i3, i2, l3);
+ blockpos$mutable.func_181079_c(i3, i2, l3);
+ if (blockstate.getLightValue(chunkprimer, blockpos$mutable) != 0) {
chunkprimer.func_201637_h(blockpos$mutable);
}