mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Fix
This commit is contained in:
@@ -100,7 +100,7 @@ module.exports = class HungerGamesCommand extends Command {
|
||||
}
|
||||
|
||||
parseEvent(event, tributes) {
|
||||
for (let i = 0; i < 6; i++) {
|
||||
for (let i = 0; i < tributes.length; i++) {
|
||||
event = event.replaceAll(`(Player${i + 1})`, `**${tributes[i].name}**`);
|
||||
}
|
||||
return event;
|
||||
|
||||
Reference in New Issue
Block a user