summary refs log tree commit diff
path: root/dist/util/Snowflake.js
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 18:03:37 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-04-06 18:03:37 +0200
commit35da56a905da28d8114225f2cec2b2c7a4166de6 (patch)
treea349f0b04c20e7b7f0e387be236bd73757020b54 /dist/util/Snowflake.js
parent:art: Convert id bigint to string (diff)
downloadserver-35da56a905da28d8114225f2cec2b2c7a4166de6.tar.xz
:wrench: build
Diffstat (limited to 'dist/util/Snowflake.js')
-rw-r--r--dist/util/Snowflake.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/util/Snowflake.js b/dist/util/Snowflake.js

index 78373e95..1217b0c8 100644 --- a/dist/util/Snowflake.js +++ b/dist/util/Snowflake.js
@@ -73,7 +73,7 @@ class Snowflake { var worker = Snowflake.workerId << 17n; var process = Snowflake.processId << 12n; var increment = Snowflake.INCREMENT++; - return time | worker | process | increment; + return (time | worker | process | increment).toString(); } /** * A deconstructed snowflake.