Fix version comparison

This commit is contained in:
Cooldude2606 committed 2025-05-18 21:37:46 +01:00
1 parent 25a5a2257c
commit 4c5ab21c64
1 file changed
+1 -1
+1 -1
View File
@@ -426,7 +426,7 @@ export function readMapExchangeString(exchangeString: string) {
try {
const version = readVersion(state);
state.v2 = version >= [2, 0, 0, 0];
state.v2 = version[0] >= 2;
data = {
version: version,
unknown: readUInt8(state),