Fixed a typo

This commit is contained in:
Guy Liner 2022-01-03 20:12:59 -05:00
parent a8b974266c
commit 69ddb61a7e
1 changed files with 2 additions and 2 deletions

View File

@ -202,7 +202,7 @@ mobs.node_ok = function(pos, fallback)
end
--a teleport functoin
--a teleport function
mobs.teleport = function(self, target)
if self.do_teleport then
if self.do_teleport(self, target) == false then
@ -247,4 +247,4 @@ mobs.calculate_fall_damage = function(self)
self.health = self.health - damage
end
end
end
end