setSleepingIgnored

public abstract void setSleepingIgnored(boolean isSleeping)

Sets whether the player is ignored as not sleeping. If everyone is either sleeping or has this flag set, then time will advance to the next day. If everyone has this flag set but no one is actually in bed, then nothing will happen.

Parameters

isSleeping

Whether to ignore.