From 55a86adc760760692777741cc2d0bdd638979918 Mon Sep 17 00:00:00 2001 From: Robbie Ferguson Date: Wed, 18 May 2016 07:49:07 -0400 Subject: [PATCH] Minor improvements to the UX. --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index acc87ca..2490ac4 100644 --- a/init.lua +++ b/init.lua @@ -64,8 +64,8 @@ local function tpr_send(sender, receiver) return end - --If paremeter is valid, Send teleport message and set the table. if not minetest.get_player_by_name(receiver) then + minetest.chat_send_player(sender, "There is no player by that name. Keep in mind this is case sensitive, and the player must be online.") return end @@ -88,8 +88,8 @@ local function tphr_send(sender, receiver) return end - --If paremeter is valid, Send teleport message and set the table. if not minetest.get_player_by_name(receiver) then + minetest.chat_send_player(sender, "There is no player by that name. Keep in mind this is case sensitive, and the player must be online.") return end