diff --git a/api.lua b/api.lua index 6da7037..cf82090 100644 --- a/api.lua +++ b/api.lua @@ -2323,7 +2323,7 @@ end -- falling and fall damage local falling = function(self, pos) - if self.fly then + if self.fly or self.disable_falling then return end diff --git a/api.txt b/api.txt index 72f023c..cf8e89b 100644 --- a/api.txt +++ b/api.txt @@ -245,7 +245,7 @@ eating. If false is returned, the mob will not replace the node. By default, replacing sets self.gotten to true and resets the object - properties. + properties. (DEPRECATED, use on_replace to make changes). Custom Definition Functions