fix: port to core 1

This commit is contained in:
TrèsAbhi committed 2024-09-08 10:24:48 -05:00
1 parent fd2e2f9c7b
commit 5e989a16bc
24 files changed
+24 -14

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
import { NATION_IDS } from "@blitzkit/core";
export function toUniqueId(nation: string, id: number) {
return (id << 8) + (NATION_IDS[nation] << 4) + 1;
}