This commit is contained in:
Andrew Miner
2026-10-27 09:19:27 -06:00
parent a822ebbdfd
commit 267349a830
9 changed files with 45 additions and 40 deletions
+4 -8
View File
@@ -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")