wip
This commit is contained in:
@@ -54,10 +54,12 @@ end
|
||||
away without finding anything.
|
||||
|
||||
If this function gets called before the world has finished generating, it will automatically
|
||||
delay
|
||||
delay for a bit and try again. After too many delays, it will simply abort the attempt.
|
||||
|
||||
Args:
|
||||
- player:ObjectRef - the player to relocate
|
||||
player:ObjectRef - the player to relocate
|
||||
delays:int - how many times we've had to defer finding a location (0 by default)
|
||||
|
||||
]]--
|
||||
function private.set_starting_pos(player_name, delays)
|
||||
delays = delays or 0
|
||||
@@ -105,7 +107,6 @@ function private.set_starting_pos(player_name, delays)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
--[[
|
||||
Set up privledges and settings for a new player.
|
||||
|
||||
@@ -129,8 +130,3 @@ core.register_on_joinplayer(function(player, last_login)
|
||||
private.setup_player(player)
|
||||
private.set_starting_pos(player:get_player_name())
|
||||
end)
|
||||
|
||||
|
||||
-- Script ------------------------------------------------------------------------------------------
|
||||
|
||||
core.log("info", "jvmi_player loaded")
|
||||
|
||||
Reference in New Issue
Block a user