mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Fix on_built_entity in deconlog.lua (#8)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user