diff --git a/lib/postgres.js b/lib/postgres.js index 0ba3a9e..043a62e 100644 --- a/lib/postgres.js +++ b/lib/postgres.js @@ -226,6 +226,15 @@ class Postgres { if (s.wear) { res.w = s.wear; } + if (s.rotation) { + res.r = s.rotation; + } + if (s.offset_x) { + res.x = s.offset_x; + } + if (s.offset_y) { + res.y = s.offset_y; + } return res; }) : null; @@ -344,6 +353,9 @@ class Postgres { stickerId: s.i, slot: s.s, wear: s.w, + rotation: s.r, + offset_x: s.x, + offset_y: s.y, } });