Skip to content
Success

Changes

Summary

  1. Fix "SLEEP" and "STOP_SLEEPING" animations for 1.14 and 1.15 (#2029) (commit: 72c7332) (details)
Commit 72c73329dfcecd2170c707dbeb62bd49516c20c7 by fullwall
Fix "SLEEP" and "STOP_SLEEPING" animations for 1.14 and 1.15 (#2029)

These now both fully work as they used to, allowing an NPC (or any Player entity) to go into a sleeping animation without requiring a bed (which is a bug introduced in the one of the recent MC updates). Fully tested and working in 1.15, presumed working for 1.14 as most things work the same. Not ported to 1.13 as I'm less confident on whether things are equivalent that far back.
(commit: 72c7332)
The file was modifiedv1_14_R1/src/main/java/net/citizensnpcs/nms/v1_14_R1/util/PlayerAnimationImpl.java
The file was modifiedv1_15_R1/src/main/java/net/citizensnpcs/nms/v1_15_R1/util/PlayerAnimationImpl.java