TheRandomLabs / RandomTweaks

A bunch of miscellaneous tweaks for Minecraft.
https://minecraft.curseforge.com/projects/randomtweaks
MIT License
8 stars 2 forks source link

Update Comforts compatibility #25

Closed TheIllusiveC4 closed 6 years ago

TheIllusiveC4 commented 6 years ago

Hey, it's me again. The latest update for Comforts introduced a few changes that broke the compatibility I introduced last time. Specifically, the sleeping bag relegates all of its sleeping behavior to vanilla now so your mod can fully take over. This PR deletes the now unnecessary check for the sleeping bag item/block and limits the event skipping to only the hammocks. Everything else is still necessary to make the hammocks work.

One thing to possibly add is to update the optional dependencies to require the compatible version of Comforts (1.2.0) if present, since merging this PR means previous versions of Comforts will not work correctly anymore with RandomTweaks. That's what I would do, but I didn't want to mess with anything that I didn't have to for the moment.

TheRandomLabs commented 6 years ago

Alright, thanks!