diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2019-05-20 11:06:25 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2019-05-20 11:06:25 +0200 |
commit | 37fbb814cb277fe5ce53240a3d02aa996000be1d (patch) | |
tree | 3c760d4d981aad30fa151343c224d3ea366c99d9 /src/Render.cpp | |
parent | Implemented block-api (diff) | |
download | AltCraft-37fbb814cb277fe5ce53240a3d02aa996000be1d.tar AltCraft-37fbb814cb277fe5ce53240a3d02aa996000be1d.tar.gz AltCraft-37fbb814cb277fe5ce53240a3d02aa996000be1d.tar.bz2 AltCraft-37fbb814cb277fe5ce53240a3d02aa996000be1d.tar.lz AltCraft-37fbb814cb277fe5ce53240a3d02aa996000be1d.tar.xz AltCraft-37fbb814cb277fe5ce53240a3d02aa996000be1d.tar.zst AltCraft-37fbb814cb277fe5ce53240a3d02aa996000be1d.zip |
Diffstat (limited to 'src/Render.cpp')
-rw-r--r-- | src/Render.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Render.cpp b/src/Render.cpp index 6218740..128c877 100644 --- a/src/Render.cpp +++ b/src/Render.cpp @@ -451,8 +451,8 @@ void Render::RenderGui() { AssetManager::GetAssetNameByBlockId(BlockId{ worldPtr->GetBlockId(selectionStatus.selectedBlock).id,0 }).c_str()); ImGui::Text("Selected block variant: %s:%s", - TransformBlockIdToBlockStateName(worldPtr->GetBlockId(selectionStatus.selectedBlock)).first.c_str(), - TransformBlockIdToBlockStateName(worldPtr->GetBlockId(selectionStatus.selectedBlock)).second.c_str()); + GetBlockInfo(worldPtr->GetBlockId(selectionStatus.selectedBlock)).blockstate.c_str(), + GetBlockInfo(worldPtr->GetBlockId(selectionStatus.selectedBlock)).variant.c_str()); } ImGui::End(); |