diff options
author | bobzel <zzzman@gmail.com> | 2022-03-04 15:19:09 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-03-04 15:19:09 -0500 |
commit | ff2602bb598b6e82330a9a0b2453e44d70c94c39 (patch) | |
tree | 37a0106c1c23c1bd1c0509cc1e2ebe4e9f703b2b /src/client/util/SerializationHelper.ts | |
parent | c015dc3b76ec30e9d7057ee558787e59033af270 (diff) |
removed pseudo Doc type system. playing with hot reloading.
Diffstat (limited to 'src/client/util/SerializationHelper.ts')
-rw-r--r-- | src/client/util/SerializationHelper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/SerializationHelper.ts b/src/client/util/SerializationHelper.ts index 2d598c1ac..fd8e38361 100644 --- a/src/client/util/SerializationHelper.ts +++ b/src/client/util/SerializationHelper.ts @@ -86,7 +86,7 @@ export function Deserializable(constructor: { new(...args: any[]): any } | strin serializationTypes[name] = { ctor, afterDeserialize }; reverseMap[ctor.name] = name; } else { - throw new Error(`Name ${name} has already been registered as deserializable`); + ;//throw new Error(`Name ${name} has already been registered as deserializable`); } } if (typeof constructor === "string") { |