Fix on_built_entity in deconlog.lua (#8)

This commit is contained in:
2024-11-21 08:45:14 +09:00
committed by GitHub
parent fcfcc7358f
commit 51c9356ecc

View File

@@ -77,7 +77,7 @@ if config.built_entity then
if Roles.player_has_flag(player, "deconlog-bypass") then if Roles.player_has_flag(player, "deconlog-bypass") then
return return
end end
local ent = e.created_entity local ent = e.entity
add_log(get_secs() .. "," .. player.name .. ",built_entity," .. ent.name .. "," .. pos_to_string(ent.position) .. "," .. tostring(ent.direction) .. "," .. tostring(ent.orientation)) add_log(get_secs() .. "," .. player.name .. ",built_entity," .. ent.name .. "," .. pos_to_string(ent.position) .. "," .. tostring(ent.direction) .. "," .. tostring(ent.orientation))
end) end)
end end