mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-01-23 07:50:17 +01:00
fix typo
This commit is contained in:
parent
03ce8ada6b
commit
c25975e7ea
4
api.lua
4
api.lua
@ -19,7 +19,7 @@ end
|
||||
|
||||
mobs = {
|
||||
mod = "redo",
|
||||
version = "20241201",
|
||||
version = "20241202",
|
||||
spawning_mobs = {},
|
||||
translate = S,
|
||||
node_snow = has(minetest.registered_aliases["mapgen_snow"])
|
||||
@ -900,7 +900,7 @@ local function is_node_dangerous(self, nodename)
|
||||
-- check for node immunity or special damage
|
||||
local damage = def.damage_per_second
|
||||
|
||||
for n = 1, #mob_object.immune_to do
|
||||
for n = 1, #self.immune_to do
|
||||
|
||||
if self.immune_to[n][1] == nodename then
|
||||
damage = self.immune_to[n][2] or 0 ; break
|
||||
|
Loading…
Reference in New Issue
Block a user