feat(mover): ✨ add Mule to ridable mobs
This commit is contained in:
parent
d001280383
commit
b71728e503
|
@ -143,7 +143,7 @@ function away(entity = bot.nearestEntity(), invertInvert = true, dynamic = true,
|
|||
|
||||
function ride(entity) {
|
||||
entity = entity?.entity || entity
|
||||
const ridableMobs = ["Horse", "Donkey", "Pig", "Strider"]
|
||||
const ridableMobs = ["Horse", "Donkey", "Pig", "Strider", "Mule"]
|
||||
const vehicle = entity && typeof entity !== "string" ? entity : bot.nearestEntity(e => {
|
||||
if (typeof entity === "string") return e.name === entity
|
||||
const maybeRidableMob = e.mobType?.split(" ")
|
||||
|
|
Loading…
Reference in New Issue
Block a user