mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Death's message for the holiday random event now uses the correct type of player name
This commit is contained in:
parent
3c9dea2830
commit
9445a2bae5
1 changed files with 3 additions and 3 deletions
|
|
@ -22,9 +22,9 @@ class DeathHolidayRandomNPC(override var loot: WeightBasedTable? = null) : Holid
|
|||
}
|
||||
1 -> {
|
||||
when(RandomFunction.getRandom(2)) {
|
||||
0 -> sendChat(this, "Your end is near, ${player.name.capitalize()}...")
|
||||
1 -> sendChat(this, "Time is running out, ${player.name.capitalize()}...")
|
||||
2 -> sendChat(this, "Tick tock, ${player.name.capitalize()}...")
|
||||
0 -> sendChat(this, "Your end is near, ${player.username.capitalize()}...")
|
||||
1 -> sendChat(this, "Time is running out, ${player.username.capitalize()}...")
|
||||
2 -> sendChat(this, "Tick tock, ${player.username.capitalize()}...")
|
||||
}
|
||||
return@queueScript delayScript(this, 4)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue