forked from Sokomine/yl_speak_up
fixed bug in more general property handling
This commit is contained in:
parent
2ade21640e
commit
937fb8d38f
@ -96,7 +96,7 @@ yl_speak_up.set_npc_property = function(pname, property_name, property_value, re
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
-- store it
|
-- store it
|
||||||
if(entity) then
|
if(property_data.entity) then
|
||||||
property_data.entity.yl_speak_up.properties[property_name] = property_value
|
property_data.entity.yl_speak_up.properties[property_name] = property_value
|
||||||
end
|
end
|
||||||
-- TODO: handle non-npc (blocks etc)
|
-- TODO: handle non-npc (blocks etc)
|
||||||
|
Loading…
Reference in New Issue
Block a user