mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Add OBSTRUCTED reason to BedEnterResult
This commit is contained in:
parent
1cedeb97af
commit
dad7e25da8
1 changed files with 4 additions and 0 deletions
|
@ -312,6 +312,10 @@ public class CraftEventFactory {
|
|||
return BedEnterResult.TOO_FAR_AWAY;
|
||||
case NOT_SAFE:
|
||||
return BedEnterResult.NOT_SAFE;
|
||||
// Paper start
|
||||
case OBSTRUCTED:
|
||||
return BedEnterResult.OBSTRUCTED;
|
||||
// Paper end
|
||||
default:
|
||||
return BedEnterResult.OTHER_PROBLEM;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue