Summary
If max-bulk-chunks in Spigot.yml is set to 1, lighting updates seem not to be communicated between client and server if:
- Player is in The End dimension
- The lighting update occurs past chunk 7 or -7 in X or Z direction
Reproduction
1. Setup a fresh Spigot 1.8.8 instance with creative gamemode
2. In `Spigot.yml`, set max-bulk-chunks to 1 under world-settings -> default: sections
3. Create an end portal to get to the end
4. Execute /tp 0 80 0 (within a seven chunk radius of End origin) and place a torch nearby. Observe that it lights up surrounding blocks as normal.
5. Fly out far enough to go beyond a seven chunk radius of the End's origin. Place torches nearby. Observe that it only lights up the block it is placed on.
Testing
The above reproduction was tested on:
- Live server: git-Spigot-5f38d38-12698ea, 27 plugins - reproducable
- Local server: git-Spigot-5f38d38-18fbb24, no plugins - reproducable
Workaround
Disconnect and reconnect, or unload the chunks by flying out of view distance or teleporting out of the world. Lighting will then correctly transmit upon loading the chunks.
Footnotes
- This bug was discovered by a player on my server
- We tried reducing our max-bulk-chunks value to 1 to try and alleviate teleport lag for some of our players with poor connections. It seemed to work, aside from this bug. We have since increased it to 2 which has introduced the teleport lag again but prevents this bug from happening.