diff options
author | orwell96 <orwell@bleipb.de> | 2021-06-29 15:57:55 +0200 |
---|---|---|
committer | orwell96 <orwell@bleipb.de> | 2021-06-29 16:01:10 +0200 |
commit | 0efe7ef1f3bf8d12d4aaf1b58a600c514953201c (patch) | |
tree | 51bdbb42e2964eaf68d3e3ad3bd565a63422d10f /advtrains/trainlogic.lua | |
parent | e5b053c0d824543116d322634d2cf1019d6754bc (diff) | |
download | advtrains-0efe7ef1f3bf8d12d4aaf1b58a600c514953201c.tar.gz advtrains-0efe7ef1f3bf8d12d4aaf1b58a600c514953201c.tar.bz2 advtrains-0efe7ef1f3bf8d12d4aaf1b58a600c514953201c.zip |
Entity Damage: Correct sign entity name
Reported by VanessaE
Diffstat (limited to 'advtrains/trainlogic.lua')
-rw-r--r-- | advtrains/trainlogic.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/trainlogic.lua b/advtrains/trainlogic.lua index 187e5ba..0fb778b 100644 --- a/advtrains/trainlogic.lua +++ b/advtrains/trainlogic.lua @@ -703,7 +703,7 @@ function advtrains.train_step_c(id, train, dtime) local objs = minetest.get_objects_inside_radius(rcollpos, 2) for _,obj in ipairs(objs) do if not obj:is_player() and obj:get_armor_groups().fleshy and obj:get_armor_groups().fleshy > 0 - and obj:get_luaentity() and obj:get_luaentity().name~="signs:text" then + and obj:get_luaentity() and obj:get_luaentity().name~="signs_lib:text" then obj:punch(obj, 1, { full_punch_interval = 1.0, damage_groups = {fleshy = 1000}, }, nil) end end |