mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-20 21:40:27 -07:00
Fixed clan quickchat
This commit is contained in:
parent
b47141aa84
commit
7159e56c4d
1 changed files with 1 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ object QCRepository {
|
||||||
builder.sender = player!!.name
|
builder.sender = player!!.name
|
||||||
builder.clanName = player.communication.clan.owner.lowercase(Locale.getDefault()).replace(" ", "_")
|
builder.clanName = player.communication.clan.owner.lowercase(Locale.getDefault()).replace(" ", "_")
|
||||||
builder.message = qcString
|
builder.message = qcString
|
||||||
|
builder.rank = player.details.rights.ordinal
|
||||||
publish(builder.build())
|
publish(builder.build())
|
||||||
} else {
|
} else {
|
||||||
val ctx = ChatMessage(player, qcString, 0, qcString.length)
|
val ctx = ChatMessage(player, qcString, 0, qcString.length)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue