Rebuild patch

This commit is contained in:
md_5 2021-09-01 19:02:09 +10:00
parent 15f27fc710
commit 422cec08d1
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -557,7 +557,7 @@
this.enteredNetherPosition = null; this.enteredNetherPosition = null;
} }
@@ -848,10 +1121,8 @@ @@ -848,12 +1121,10 @@
this.containerMenu.d(); this.containerMenu.d();
} }
@ -571,6 +571,8 @@
- if (!this.level.getDimensionManager().isNatural()) { - if (!this.level.getDimensionManager().isNatural()) {
+ if (!this.level.getDimensionManager().isNatural() || !this.level.getDimensionManager().isBedWorks()) { + if (!this.level.getDimensionManager().isNatural() || !this.level.getDimensionManager().isBedWorks()) {
return Either.left(EntityHuman.EnumBedResult.NOT_POSSIBLE_HERE); return Either.left(EntityHuman.EnumBedResult.NOT_POSSIBLE_HERE);
} else if (!this.a(blockposition, enumdirection)) {
return Either.left(EntityHuman.EnumBedResult.TOO_FAR_AWAY);
@@ -877,7 +1148,36 @@ @@ -877,7 +1148,36 @@
} }
} }