From 87ec71154fb0c11af44785d1db0f96944aef862c Mon Sep 17 00:00:00 2001 From: MihailRis Date: Fri, 26 Apr 2024 15:32:24 +0300 Subject: [PATCH] micro fix --- src/frontend/hud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/hud.cpp b/src/frontend/hud.cpp index bedca551..da87e746 100644 --- a/src/frontend/hud.cpp +++ b/src/frontend/hud.cpp @@ -387,7 +387,7 @@ void Hud::add(HudElement element) { std::vector> args; args.push_back(Value::of(inventory ? inventory.get()->getId() : 0)); for (int i = 0; i < 3; i++) { - args.push_back(Value::of(blockPos[i])); + args.push_back(Value::of(static_cast(blockPos[i]))); } if (invview) {