add fullscreen block overlay

This commit is contained in:
MihailRis
2024-10-31 18:22:55 +03:00
parent 9c3d4af907
commit b191f2ba9d
8 changed files with 74 additions and 19 deletions
+1
View File
@@ -326,6 +326,7 @@ void ContentLoader::loadBlock(
root.at("ui-layout").get(def.uiLayout);
root.at("inventory-size").get(def.inventorySize);
root.at("tick-interval").get(def.tickInterval);
root.at("overlay-texture").get(def.overlayTexture);
if (root.has("fields")) {
def.dataStruct = std::make_unique<StructLayout>();