Reduce max length of flea offer names to 15

This commit is contained in:
Dev 2024-10-15 20:54:11 +01:00
parent ff159809dd
commit eb0b3ce369

View File

@ -565,7 +565,7 @@ export class RagfairOfferHelper {
// Used to replace tokens in sold message sent to player // Used to replace tokens in sold message sent to player
const tplVars: ISystemData = { const tplVars: ISystemData = {
soldItem: globalLocales[`${itemTpl} Name`] || itemTpl, soldItem: globalLocales[`${itemTpl} Name`] || itemTpl,
buyerNickname: this.botHelper.getPmcNicknameOfMaxLength(this.hashUtil.generate(), 50), buyerNickname: this.botHelper.getPmcNicknameOfMaxLength(this.hashUtil.generate(), 15),
itemCount: boughtAmount, itemCount: boughtAmount,
}; };