removed blanks at end of line
This commit is contained in:
parent
69aa04534a
commit
dc2d8e6c1e
@ -70,19 +70,19 @@ npc_talk.talking_npc_entity_prototype = {
|
||||
-- actually talk to the NPC
|
||||
on_rightclick = function(self, clicker)
|
||||
npc_talk.look_at_player(self, clicker)
|
||||
return yl_speak_up.mobs_on_rightclick(self, clicker)
|
||||
return yl_speak_up.mobs_on_rightclick(self, clicker)
|
||||
end,
|
||||
}
|
||||
|
||||
npc_talk.talking_npc_get_staticdata = function(self)
|
||||
-- taken basicly from mobs_redo
|
||||
local data, t = {}
|
||||
local data, t = {}
|
||||
for _, v in pairs(self) do
|
||||
t = type(v)
|
||||
if( t ~= "function" and t ~= "nil" and t ~= "userdata" and _ ~= "object" and _ ~= "_cmi_components") then
|
||||
data[_] = self[_]
|
||||
end
|
||||
end
|
||||
end
|
||||
return minetest.serialize(data)
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user