From aa537a6765aedfd40d7e4fd4a19cc1ea0684e5a2 Mon Sep 17 00:00:00 2001 From: Robbie Ferguson Date: Wed, 18 May 2016 15:35:25 -0400 Subject: [PATCH] Update init.lua --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 866bd0c..ffec348 100644 --- a/init.lua +++ b/init.lua @@ -213,7 +213,7 @@ local function tpr_accept(name, param) end -- Teleport Jump - Relative Position Teleportation by number of nodes -local function tpj(name,param) +local function tpj(player,param) local pname = minetest.get_player_by_name(player) if param == "" then @@ -254,7 +254,7 @@ local function tpj(name,param) end -- Evade -local function tpe(name) +local function tpe(player) local negatives = { '-','' } -- either it's this way or that way local isnegative = negatives[math.random(2)] local distance = isnegative .. math.random(4,15) -- the distance to jump