mirror of
https://code.chipmunk.land/Parker2991/NitoriBot/
synced 2026-12-04 16:15:43 -05:00
added a framework, parsed chat, added player list, added registry, added tabcomplete, and made the config toml
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export default function entityUUID (uuid: any) {
|
||||
// taken from https://gist.github.com/storycraft/7813dd0186e85daa393e1df9cfa19f2a
|
||||
return uuid.replace(/-/g, '').match(/.{8}/g).map((str: any) => Number.parseInt(str, 16)).map((num: any) => Number.parseInt(num & 0x80000000 ? num - 0xffffffff - 1 : num))
|
||||
}
|
||||
Reference in New Issue
Block a user