From 8266cfe63d87f9b8497dcf353ad8b5fc4c370e4e Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Fri, 7 May 2021 22:55:07 -0600 Subject: [PATCH] rename findpits to prevent confusion with underworld glowing pits --- pit_caves/README.md | 2 +- pit_caves/init.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pit_caves/README.md b/pit_caves/README.md index c997807..d604410 100644 --- a/pit_caves/README.md +++ b/pit_caves/README.md @@ -15,4 +15,4 @@ The following settings are available for configuring pit cave generation: The pit_caves_seal_ocean setting isn't perfect, some map generation scenarios can result in a gap through which water can flow. But it's better than having drain holes everywhere. -Users with the "server" privilege can use the ``/findpits`` command, which will list the locations of nearby pit caves. \ No newline at end of file +Users with the "server" privilege can use the ``/find_pit_caves`` command, which will list the locations of nearby pit caves. \ No newline at end of file diff --git a/pit_caves/init.lua b/pit_caves/init.lua index e9a9e90..3e308fb 100644 --- a/pit_caves/init.lua +++ b/pit_caves/init.lua @@ -188,7 +188,7 @@ local send_nearby_states = function(pos, name) return retval end -minetest.register_chatcommand("findpits", { +minetest.register_chatcommand("find_pit_caves", { params = "pos", -- Short parameter description description = S("find the pits near the player's map region, or in the map region containing pos if provided"), func = function(name, param)