Add OBSTRUCTED reason to BedEnterResult

This commit is contained in:
Jake Potrebic 2020-12-24 12:43:30 -08:00
parent b71dfe682d
commit 3234f24141

View File

@ -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.
*/