micro fix

This commit is contained in:
MihailRis 2024-04-26 15:32:24 +03:00
parent 001617f6d9
commit 87ec71154f

View File

@ -387,7 +387,7 @@ void Hud::add(HudElement element) {
std::vector<std::unique_ptr<Value>> 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<integer_t>(blockPos[i])));
}
if (invview) {