From 7804459f96528dd8ec85fd603dc6e57c97ad4007 Mon Sep 17 00:00:00 2001 From: nixnoxus Date: Fri, 8 Mar 2024 19:44:39 +0100 Subject: [PATCH] fix 'WARNING[Server]: Undeclared global variable default_walk_chance accessed' [2] --- mods/ENTITIES/mcl_mobs/breeding.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/breeding.lua b/mods/ENTITIES/mcl_mobs/breeding.lua index 8d3e03ec6..7b5d91119 100644 --- a/mods/ENTITIES/mcl_mobs/breeding.lua +++ b/mods/ENTITIES/mcl_mobs/breeding.lua @@ -322,7 +322,7 @@ function mob_class:toggle_sit(clicker,p) particle = "mobs_mc_wolf_icon_roam.png" self.order = "roam" self.state = "stand" - self.walk_chance = default_walk_chance + self.walk_chance = 50 self.jump = true self:set_animation("stand") -- TODO: Add sitting model