mirror of
https://github.com/minetest-mods/teleport-request.git
synced 2025-01-07 21:47:30 +01:00
Minor fix
This commit is contained in:
parent
ee00f0cf2f
commit
58b8198de2
6
init.lua
6
init.lua
@ -255,9 +255,9 @@ end
|
|||||||
|
|
||||||
-- Evade
|
-- Evade
|
||||||
local function tpe(player)
|
local function tpe(player)
|
||||||
minetest.chat_send_player(sender, "EVADE!")
|
minetest.chat_send_player(player, "EVADE!")
|
||||||
local mindistance = 4
|
local mindistance = 15
|
||||||
local maxdistance = 15
|
local maxdistance = 50
|
||||||
local times = math.random(6,20) -- how many times to jump - minimum,maximum
|
local times = math.random(6,20) -- how many times to jump - minimum,maximum
|
||||||
local negatives = { '-','' } -- either it's this way or that way: the difference between -10 and 10
|
local negatives = { '-','' } -- either it's this way or that way: the difference between -10 and 10
|
||||||
local options = { 'x', 'y', 'z' }
|
local options = { 'x', 'y', 'z' }
|
||||||
|
Loading…
Reference in New Issue
Block a user