Skip to content

Commit

Permalink
Fix chat (#47)
Browse files Browse the repository at this point in the history
* Fix indentation

* Remove additions

* Fix minetest.after calls

* Remove chat message code duplication; Allow setting of chat color

* No need to specify it's mod specific

* Apply suggestions from code review

Co-authored-by: David Leal <halfpacho@gmail.com>
  • Loading branch information
oversword and Panquesito7 committed Aug 9, 2021
1 parent 8e13e16 commit 7d21dd7
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 303 deletions.
3 changes: 3 additions & 0 deletions config.lua
Expand Up @@ -22,6 +22,9 @@ USA
tp.timeout_delay = tonumber(minetest.settings:get("tp.timeout_delay")) or 60
tp.version = "1.5"
-- Message color
tp.message_color = minetest.settings:get("tp.message_color") or "#FFFFFF"
-- Enable teleporting immediately to the specified player for those with "tp_admin" privilege.
tp.enable_immediate_teleport = minetest.settings:get_bool("tp.enable_immediate_teleport")
Expand Down

0 comments on commit 7d21dd7

Please sign in to comment.