geforkt von Mirrors/Paper
Fixin' the problem of AFK people not in bed.
By: sk89q <the.sk89q@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
f31d7de587
Commit
752c217557
@ -109,6 +109,23 @@ public interface Player extends HumanEntity, CommandSender {
|
|||||||
* Note: This will overwrite the players current inventory, health, motion, etc, with the state from the saved dat file.
|
* Note: This will overwrite the players current inventory, health, motion, etc, with the state from the saved dat file.
|
||||||
*/
|
*/
|
||||||
public void loadData();
|
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.
|
* Forces an update of the player's entire inventory.
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren