Skip to content

Let players update their bed at any time of the day #60

Merged
merged 1 commit into from

4 participants

@CivFactions

It's really frustrating to have to wait for night time to set your bed location.

This PR changes the set-bed method to use the PlayerInteractEvent instead of PlayerBedEnterEvent so that simply right-clicking on a bed block will update the bed location even if it's night time.

@Maxopoly

Hmm, not sure whether we want this.

@CivFactions

Your call, I've been using this approach myself and it works well.
Having to wait until night time is pretty pointless.

@ProgrammerDan

I'm not opposed to it. I can take a nap any time during the day IRL; and the "only nighttime" mechanic only makes sense for singleplayer, as it's a way to skip time and avoid mobspawn. That doesn't apply here.

@rourke750
@Maxopoly

Alright then

@Maxopoly Maxopoly merged commit f70d436 into Civcraft:master

1 check passed

Details clahub All contributors have signed the Contributor License Agreement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.