mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
Add OBSTRUCTED reason to BedEnterResult
This commit is contained in:
parent
b71dfe682d
commit
3234f24141
1 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,12 @@ public class PlayerBedEnterEvent extends PlayerEvent implements Cancellable {
|
|||
* Entering the bed is prevented due to the player being 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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue