rename findpits to prevent confusion with underworld glowing pits

This commit is contained in:
FaceDeer 2021-05-07 22:55:07 -06:00
parent 79c029aa40
commit 8266cfe63d
2 changed files with 2 additions and 2 deletions

View File

@ -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.
Users with the "server" privilege can use the ``/find_pit_caves`` command, which will list the locations of nearby pit caves.

View File

@ -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)