mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Check if is light status or above / isLightOn / starlight version fits (#7888)
This commit is contained in:
parent
6491bdb641
commit
79fb78d5b2
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue