Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Compatibility] Realistic Sleep #25

Open
Pirogiran opened this issue Jan 16, 2023 · 1 comment
Open

[Compatibility] Realistic Sleep #25

Pirogiran opened this issue Jan 16, 2023 · 1 comment

Comments

@Pirogiran
Copy link

The problem is described here
(The system isn't working with Realistic Sleep)

@Steveplays28
Copy link

Steveplays28 commented Jan 16, 2023

Hey, dev of Realistic Sleep here.

I'm think the issue might lie in the bit of code that's supposed to check if players haven't slept for a while, which runs every morning:
https://github.com/ReviversMC/bettersleeping/blob/5cdbcd47484365e7cd4453d80c782e4f749f81a0/bettersleeping-core/src/main/java/com/github/reviversmc/bettersleeping/events/EventHandlerBase.java#LL42C15-L42C15

It could be that the morning just passes too fast for this to be triggered, since my mod accelerates the tickrate when sleeping, instead of the game skipping straight to day.

Not quite so sure though, will have to do some debugging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants