From 12cd9f8033ea8a32952fa7813aded9f43ed318a5 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Mon, 20 Nov 2023 20:26:04 +0900 Subject: [PATCH] . --- modules/commands/waterfill.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/waterfill.lua b/modules/commands/waterfill.lua index 319b2274..26214380 100644 --- a/modules/commands/waterfill.lua +++ b/modules/commands/waterfill.lua @@ -38,7 +38,7 @@ Selection.on_selection(SelectionConvertArea, function(event) local player = game.get_player(event.player_index) local entities = player.surface.find_entities_filtered{area=area, name='steel-chest'} - + if #entities == 0 then player.print('No steel chest found') return