From 2fb7bf2c66d189391d9a4df262e35c36afea85d1 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Tue, 18 Jan 2022 06:41:29 +0000 Subject: [PATCH] update api.txt for mob_object change --- api.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api.txt b/api.txt index 7cba54b..99547af 100644 --- a/api.txt +++ b/api.txt @@ -691,10 +691,10 @@ space to spawn mob [name], if so then a new position is returned for use, otherwise nil is returned. -mobs:is_node_dangerous(self, nodename) +mobs:is_node_dangerous(mob_object, nodename) -This function returns true if the node name given is harmful to the mob (self), it is -mainly used when a mob is near a node it has to avoid. +This function returns true if the node name given is harmful to the mob (mob_object), +it is mainly used when a mob is near a node it has to avoid. External Settings for "minetest.conf"