Skip to content
Success

Changes

Summary

  1. Fix llamas not being controllable with '/npc controllable' (#2412) (commit: 91fcad1) (details)
Commit 91fcad1499edc139f49528ec4cc0a0cbe1c523aa by noreply
Fix llamas not being controllable with '/npc controllable' (#2412)

Llamas are looped in with horses for certain traits (such as having an inventory) but not in movement. This commit excludes llamas from the `updateHorizontalSpeed` check as they cannot be controlled in vanilla.

Tested with 1.12.2 and 1.16.4.
(commit: 91fcad1)
The file was modifiedmain/src/main/java/net/citizensnpcs/trait/Controllable.java