From 7fbfd9d59cc753cc349d817df77fa117227b9e48 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Tue, 13 Jul 2021 16:56:53 +0100 Subject: [PATCH] fix "stand" mobs fall jitter --- api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.lua b/api.lua index 0e2c62d..2cd8af7 100644 --- a/api.lua +++ b/api.lua @@ -273,7 +273,7 @@ function mob_class:set_velocity(v) -- halt mob if it has been ordered to stay if self.order == "stand" then - self.object:set_velocity({x = 0, y = 0, z = 0}) + self.object:set_velocity({x = 0, y = self.fall_speed, z = 0}) return end