Expand Pose API (#8781)

This commit is contained in:
SoSeDiK
2023-08-22 06:05:47 +03:00
parent d369e65fab
commit 1316321c7f
3 changed files with 105 additions and 1 deletions

View File

@@ -21,7 +21,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ if (handle.status == null) {
+ if (handle.valid && !handle.updatingSectionStatus) {
+ // Don't actually set the status because it would skew the old status check in the next tick
+ return CraftBoat.boatStatusFromNms(this.getHandle().getStatus());
+ return CraftBoat.boatStatusFromNms(handle.getStatus());
+ } else {
+ return Status.NOT_IN_WORLD;
+ }