Add OBSTRUCTED reason to BedEnterResult

This commit is contained in:
Jake Potrebic 2020-12-24 12:43:39 -08:00
parent 1cedeb97af
commit dad7e25da8

View file

@ -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;
}