fix mcl_beds: ignore players in other dimensions than overwold #4257

Merged
the-real-herowl merged 3 commits from nixnoxus/MineClone2:beds-ignore-players-in-other-dimensions2 into master 2024-05-02 05:13:29 +02:00
Contributor

MineClone2/MineClone2#4185 + bugfix

beds ignore players in other dimensions than "overworld" (because players can only sleep in the "overworld")

see also: https://minecraft.fandom.com/wiki/Bed#Passing_the_night

To skip the night in multiplayer, all players in the Overworld must be in bed at the same time

Testing

  • player1 lies down -> formspec: 1/1 players
  • a new player2 joins the game in the "overworld" -> formspec update: 1/2 players
  • player2 player goes through a portal into the nether -> formspec update: 1/1 players, night skipped, player1 is kicked out of bed
  • .. the day goes by ..
  • player1 lies down -> formspec: 1/1 players
  • player2 comes back from the nether -> formspec update 1/2 players
  • player2 lies down -> formspec update: 2/2 players, night skipped, player1 and player2 are kicked out of bed
https://git.minetest.land/MineClone2/MineClone2/pulls/4185 + bugfix beds ignore players in other dimensions than "overworld" (because players can only sleep in the "overworld") see also: https://minecraft.fandom.com/wiki/Bed#Passing_the_night > To skip the night in multiplayer, all players in the Overworld must be in bed at the same time ### Testing - player1 lies down -> formspec: 1/1 players - a new player2 joins the game in the "overworld" -> formspec update: 1/2 players - player2 player goes through a portal into the nether -> formspec update: 1/1 players, night skipped, player1 is kicked out of bed - .. the day goes by .. - player1 lies down -> formspec: 1/1 players - player2 comes back from the nether -> formspec update 1/2 players - player2 lies down -> formspec update: 2/2 players, night skipped, player1 and player2 are kicked out of bed
nixnoxus added 3 commits 2024-04-21 22:41:42 +02:00
First-time contributor

What to do with this PR?

What to do with this PR?
the-real-herowl added the
#P6: low
label 2024-04-27 14:53:56 +02:00
the-real-herowl added this to the 0.87.0 - Prismatic milestone 2024-04-28 18:53:20 +02:00
the-real-herowl added the
gameplay
Testing / Retest
player
labels 2024-04-29 16:19:03 +02:00
the-real-herowl removed the
Testing / Retest
label 2024-05-02 05:12:15 +02:00
the-real-herowl approved these changes 2024-05-02 05:12:20 +02:00
the-real-herowl merged commit 3975449ad2 into master 2024-05-02 05:13:29 +02:00
Sign in to join this conversation.
No reviewers
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#4257
No description provided.