master
runs 2021-01-05 18:32:59 +01:00
parent a185e3fd19
commit b2cdba402c
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ function petz.herbivore_brain(self)
--end
if prty < 8 then
if (self.can_jump) and not(self.status== "jump") then
if (self.can_jump) and not(self.status== "stand") and not(self.status== "sleep") and not(self.status== "jump") then
local random_number = math.random(1, self.jump_ratio)
if random_number == 1 then
--minetest.chat_send_player("singleplayer", "jump")