move hand item control to lua

This commit is contained in:
MihailRis
2025-07-27 19:20:30 +03:00
parent 567eec88c8
commit 6f11741310
4 changed files with 40 additions and 71 deletions
+1 -5
View File
@@ -116,11 +116,7 @@ WorldRenderer::WorldRenderer(
content.getDefaults()["hand-skeleton"].asString()
);
hands = std::make_unique<HandsRenderer>(
*assets,
level,
player,
*modelBatch,
skeletons->createSkeleton("hand", &skeletonConfig)
*assets, *modelBatch, skeletons->createSkeleton("hand", &skeletonConfig)
);
}