From f47f51a8fcdbf21ba57253e426e664b28e89f21f Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Thu, 13 Jun 2024 06:01:47 +0900 Subject: [PATCH] Fix discord alerts for entity protection (#298) --- modules/addons/discord-alerts.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/addons/discord-alerts.lua b/modules/addons/discord-alerts.lua index 220c7bec..d68150b4 100644 --- a/modules/addons/discord-alerts.lua +++ b/modules/addons/discord-alerts.lua @@ -105,7 +105,7 @@ if config.entity_protection then color=Colors.yellow, ['Player']='' .. append_playtime(player_name), ['Entity']='' .. event.entity.name, - ['Location']=event.entity.position + ['Location']='X ' .. event.entity.position.x .. ' Y ' .. event.entity.position.y } end) end @@ -300,4 +300,4 @@ Event.add(defines.events.on_console_command, function(event) } end end -end) \ No newline at end of file +end)