mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
fix: negative hard joint handling
This commit is contained in:
1 parent
6dfb727fa2
commit
062e6e9626
5 files changed
+20
-18
No files matched your search
@@ -0,0 +1,6 @@
|
||||
export function nameToArmorId(name: string) {
|
||||
const match = name.match(/.+_armor_(\d+)/);
|
||||
const group1 = match![1];
|
||||
|
||||
return parseInt(group1);
|
||||
}
|
||||
Reference in new issue
Block a user