How to reset amount of days player hasn't slept

Discussion in 'Bukkit Help' started by JimmyTDM, Aug 26, 2020.

  1. Offline

    JimmyTDM

    I'm trying to make a plugin where only 1 player needs to sleep in a server. I've finished the rest of the stuff but I can't seem to find how to reset the amount of days the player hasn't slept, as to make phantoms not spawn. I tried with attributes but couldn't seem to find anything. Can anyone help?
     

Share This Page