This commit is contained in:
2025-01-29 00:34:20 +09:00
parent fc7c9d41ad
commit cc590372de
2 changed files with 9 additions and 5 deletions

View File

@@ -83,11 +83,13 @@ local tool_gui_waterfill_b =
if Selection.is_selecting(player, SelectionWaterfillArea) then
Selection.stop(player)
return player.print{ "exp-commands_waterfill.exit" }
elseif player.get_item_count("cliff-explosives") == 0 then
return player.print{ "exp-commands_waterfill.requires-explosives" }
else
Selection.start(player, SelectionWaterfillArea)
return player.print{ "exp-commands_waterfill.enter" }
if player.get_item_count("cliff-explosives") == 0 then
return player.print{ "exp-commands_waterfill.requires-explosives" }
else
Selection.start(player, SelectionWaterfillArea)
return player.print{ "exp-commands_waterfill.enter" }
end
end
end)