mrgeneralq / sleep-most

Control the amount of percentage of sleeping players required to make it day. 100K+ downloads on spigot!
https://www.spigotmc.org/resources/sleep-most-1-14-4-configurable-messages-and-percentage.60623/
30 stars 12 forks source link

Night skipped message showing twice #145

Closed mrgeneralq closed 1 year ago

mrgeneralq commented 2 years ago

Describe the bug When trying to sleep with the animation enabled, it would start running the animation for every player in addition to the required count. when the night is skipped, the message would show x additional amount of times (the count) the players went to sleep.

To Reproduce Steps to reproduce the behavior:

  1. have night-cylce animation enabled (required count 1)
  2. go to sleep with 2 persons
  3. note how the chat says [2/1]
  4. wait for the night to be skipped and showing the message twice

Expected behavior Show the message once, do not show the message [2/1] but nothing instead

image

mrgeneralq commented 1 year ago

Test successful. This is now resolved. it will still show 2/1 (to indicate the amount of players in addition sleeping) but it will no longer show the message twice.

WiZiSergio commented 1 year ago

That is not a bug, I use version 1.18.2 and 1.17.2 and it only shows 1 time