Skip to content

Conversation

@unilock
Copy link
Contributor

@unilock unilock commented Jan 11, 2025

Removes the incorrect inversion and checks for originalState.contains(BedBlock.OCCUPIED) as the original Fabric API does

Fixes a crash when a Fabric mod allows the player to sleep on blocks that aren't beds (e.g. Spectrum, with its "Night Salts")

Removes the incorrect inversion and checks for originalState.contains(BedBlock.OCCUPIED) as the original Fabric API does

Signed-off-by: unilock <unilock@fennet.rentals>
@Su5eD Su5eD self-assigned this Jan 11, 2025
@Su5eD Su5eD added the bug Something isn't working label Jan 11, 2025
@Su5eD Su5eD merged commit 4ca7515 into Sinytra:1.20.1 Jan 29, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants