Stairs are considered "spawnable" when calculating sleep challenge
Kuoxsr opened this issue ยท 1 comments
I was utterly perplexed by the fact that I kept waking up in my base even though I have a ton of rock over my head and everything within a square mile is lit up like a Christmas tree. I started to think that the code was wrong somehow. To better test this phenomena, I changed my config file to say the following:
sleep { D:probabilityToWakeProtected=0.0 D:probabilityToWakeUnprotected=1.0 }
Despite my base being secure, the mod kept waking me up "to the sound of moaning" every night without fail.
Eventually, I decided to remove the nearby staircase, leaving only the blocks beneath, which were well-lit, and sure enough, I finally slept through the night in my base with those config options.
The mod treats stairs as if they have light level zero, despite plenty of light in the stairwell (as evidenced by the fact that when I removed the stairs, the blocks beneath all said they were above 7.)
Hmm... bottom slabs don't appear to have the same problem.
Also tried trapdoors, and I could sleep just fine.
The issue appears to be stairs only... at least until I can find another block that behaves the same.