From 7e7d5ca9da23b8a2f145143b9ff8d84183deebe8 Mon Sep 17 00:00:00 2001 From: Skillet Date: Tue, 12 Dec 2023 17:24:50 -0500 Subject: [PATCH] Update db-log-addOn.js --- db-log-addOn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db-log-addOn.js b/db-log-addOn.js index 6b10dd3..74b228b 100644 --- a/db-log-addOn.js +++ b/db-log-addOn.js @@ -113,7 +113,7 @@ export default class DBLogPlayerTime extends DBLog { this.seeding = ServerState.live; } } else { - if (this.server.currentLayerRcon.layer.includes('Seed')) { + if (this.server.currentLayerRcon.layer?.includes('Seed')) { this.verbose(1,'starting to seeding'); this.seeding = ServerState.seeding; } else {