geforkt von Mirrors/Paper
Add OBSTRUCTED reason to BedEnterResult
Dieser Commit ist enthalten in:
Ursprung
b71dfe682d
Commit
3234f24141
@ -42,6 +42,12 @@ public class PlayerBedEnterEvent extends PlayerEvent implements Cancellable {
|
|||||||
* Entering the bed is prevented due to the player being too far away.
|
* Entering the bed is prevented due to the player being too far away.
|
||||||
*/
|
*/
|
||||||
TOO_FAR_AWAY,
|
TOO_FAR_AWAY,
|
||||||
|
// Paper start
|
||||||
|
/**
|
||||||
|
* Bed was obstructed.
|
||||||
|
*/
|
||||||
|
OBSTRUCTED,
|
||||||
|
// Paper end
|
||||||
/**
|
/**
|
||||||
* Entering the bed is prevented due to there being monsters nearby.
|
* Entering the bed is prevented due to there being monsters nearby.
|
||||||
*/
|
*/
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren