removed blanks at end of line

This commit is contained in:
Sokomine 2023-09-10 01:33:56 +02:00
parent 69aa04534a
commit dc2d8e6c1e

View File

@ -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