Files
Carbon/common/src/main/resources/queries/mysql/save-player.sql
T
2022-06-08 15:16:20 -07:00

13 lines
408 B
SQL

UPDATE carbon_users
SET
id = UNHEX(REPLACE(:id, '-', '')),
muted = :muted,
deafened = :deafened,
selectedchannel = :selectedchannel,
username= :username,
displayname = :displayname,
lastwhispertarget = UNHEX(REPLACE(:lastwhispertarget, '-', '')),
whisperreplytarget = UNHEX(REPLACE(:whisperreplytarget, '-', '')),
spying = :spying
WHERE id = UNHEX(REPLACE(:id, '-', ''));