Skip to content

Commit

Permalink
feat(shared): add count to decoration (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh authored Jan 2, 2024
1 parent da0042a commit 4dcc6de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/src/bindings/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1420,6 +1420,7 @@ static void GetDecorations(const v8::FunctionCallbackInfo<v8::Value>& info)
V8_NEW_OBJECT(decorationsObj);
V8_OBJECT_SET_UINT(decorationsObj, "collection", decoration.collection);
V8_OBJECT_SET_UINT(decorationsObj, "overlay", decoration.overlay);
V8_OBJECT_SET_INT(decorationsObj, "count", decoration.count);

decorationsArr->Set(ctx, i, decorationsObj);
}
Expand Down
2 changes: 1 addition & 1 deletion shared/deps/cpp-sdk
Submodule cpp-sdk updated 1 files
+2 −1 types/Decoration.h

0 comments on commit 4dcc6de

Please sign in to comment.