1
0
Fork 0

Remove unnecessary space in the attack reach limit on mobs code

This commit is contained in:
Eliy21 2023-12-14 08:15:55 +00:00 committed by bakawun
parent c09c3aad47
commit 95be0ca64c
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ function mob_class:on_punch(hitter, tflp, tool_capabilities, dir)
if is_player then
-- is mob out of reach?
if vector.distance(mob_pos, player_pos) > 3 then
if vector.distance(mob_pos, player_pos) > 3 then
return
end
-- is mob protected?