chore: fmt

This commit is contained in:
Sally Knight
2026-03-27 20:37:52 +03:00
committed by Tropical
parent 1a478c8a5b
commit 02845d9a5f
5 changed files with 26 additions and 25 deletions

View File

@@ -12,8 +12,8 @@ ResourceLocation GUI_CRAFTING_LOCATION = ResourceLocation(TN_GUI_CRAFTING);
CraftingScreen::CraftingScreen(std::shared_ptr<Inventory> inventory,
Level* level, int x, int y, int z)
: AbstractContainerScreen(new CraftingMenu(inventory, level, x, y, z)) {
this->inventory = inventory;
}
this->inventory = inventory;
}
void CraftingScreen::removed() {
AbstractContainerScreen::removed();
@@ -21,7 +21,8 @@ void CraftingScreen::removed() {
}
void CraftingScreen::renderLabels() {
font->draw(Language::getInstance()->getElement(L"container.crafting"), 8 + 16 + 4, 2 + 2 + 2, 0x404040);
font->draw(Language::getInstance()->getElement(L"container.crafting"),
8 + 16 + 4, 2 + 2 + 2, 0x404040);
font->draw(inventory->getName(), 8, imageHeight - 96 + 2, 0x404040);
}