Skip to content

Commit

Permalink
chore: change name lock to core (opentibiabr#2277)
Browse files Browse the repository at this point in the history
  • Loading branch information
omarcopires authored Feb 20, 2024
1 parent 7356b7d commit d5f826f
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 d5f826f

Please sign in to comment.