From a7c00aeb4e4aa31b27f4a621831f8db541ec85ae Mon Sep 17 00:00:00 2001 From: Josh-Larson Date: Sun, 27 Oct 2024 16:44:21 -0500 Subject: [PATCH] Added default constructor for StringId to support deserialization --- .../projectswg/common/data/encodables/oob/StringId.kt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/projectswg/common/data/encodables/oob/StringId.kt b/src/main/java/com/projectswg/common/data/encodables/oob/StringId.kt index a19d41c..5af56b3 100644 --- a/src/main/java/com/projectswg/common/data/encodables/oob/StringId.kt +++ b/src/main/java/com/projectswg/common/data/encodables/oob/StringId.kt @@ -1,11 +1,10 @@ /*********************************************************************************** * Copyright (c) 2024 /// Project SWG /// www.projectswg.com * * * - * ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on * + * ProjectSWG is an emulation project for Star Wars Galaxies founded on * * July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. * - * Our goal is to create an emulator which will provide a server for players to * - * continue playing a game similar to the one they used to play. We are basing * - * it on the final publish of the game prior to end-game events. * + * Our goal is to create one or more emulators which will provide servers for * + * players to continue playing a game similar to the one they used to play. * * * * This file is part of PSWGCommon. * * * @@ -35,7 +34,9 @@ class StringId(file: String, key: String? = null) : OutOfBandData, MongoPersista private set var file: String private set - + + constructor() : this("", "") + init { if (key == null) { var stf = file