mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Add OBSTRUCTED reason to BedEnterResult
This commit is contained in:
parent
1cedeb97af
commit
dad7e25da8
@ -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 New Issue
Block a user