Skip to content

Commit

Permalink
chore: change name lock to core
Browse files Browse the repository at this point in the history
  • Loading branch information
omarcopires committed Feb 20, 2024
1 parent 965c528 commit def3147
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ function CheckNamelock(player)
if not namelockReason then
return true
end

player:setMoveLocked(true)
player:teleportTo(player:getTown():getTemplePosition())
player:sendTextMessage(MESSAGE_ADMINISTRADOR, "Your name has been locked for the following reason: " .. namelockReason .. ".")
Expand Down

0 comments on commit def3147

Please sign in to comment.