Fixin' the problem of AFK people not in bed.
This commit is contained in:
parent
bd533b3c8a
commit
93a3e2448d
@ -110,6 +110,23 @@ public interface Player extends HumanEntity, CommandSender {
|
||||
*/
|
||||
public void loadData();
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* @param isSleeping
|
||||
*/
|
||||
public void setSleepingIgnored(boolean isSleeping);
|
||||
|
||||
/**
|
||||
* Returns whether the player is sleeping ignored.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
public boolean isSleepingIgnored();
|
||||
|
||||
/**
|
||||
* Forces an update of the player's entire inventory.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user