added ns in CONFIG.l5r5e.systemName
This commit is contained in:
@@ -54,7 +54,7 @@ export class SocketHandlerL5r5e {
|
||||
_onDeleteChatMessage(payload) {
|
||||
// Only delete the message if the user is a GM (otherwise it has no real effect)
|
||||
// Currently only used in RnK
|
||||
if (!game.user.isFirstGM || !game.settings.get("l5r5e", "rnk-deleteOldMessage")) {
|
||||
if (!game.user.isFirstGM || !game.settings.get(CONFIG.l5r5e.systemName, "rnk-deleteOldMessage")) {
|
||||
return;
|
||||
}
|
||||
game.messages.get(payload.messageId)?.delete();
|
||||
|
||||
Reference in New Issue
Block a user