This commit is contained in:
chipmunk 2024-09-08 23:43:54 -04:00
parent fe4bc9c560
commit e062856ae7

View file

@ -85,8 +85,9 @@ module.exports = {
const source = context.source
const bot = source.bot
const player = source.getPlayerOrThrow()
const playerData = bot.playerData[player.uuid]
delete bot.mail[player.username]
delete playerData.data.mail
bot.tellraw({ text: 'Your mail has been cleared', ...bot.styles.primary }, createUuidSelector(player.uuid))
}
}