Check if is light status or above / isLightOn / starlight version fits (#7888)

This commit is contained in:
Owen1212055 2022-06-08 12:32:49 -04:00
parent 6491bdb641
commit 79fb78d5b2

View file

@ -5096,7 +5096,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
- if (flag3 || flag4) {
- if (!flag2) {
+ // Paper start - rewrite the light engine
+ if (true || flag3 || flag4) {
+ if (flag) {
+ if ((flag3 || flag4) && !flag2) {
tasksToExecuteOnMain.add(() -> { // Paper - delay this task since we're executing off-main
lightengine.retainData(chunkPos, true);