From bd5174ba276842fc097dc9448d8c109ee4b065c0 Mon Sep 17 00:00:00 2001 From: Quentin Bazin Date: Sat, 11 Jul 2020 03:12:11 +0200 Subject: [PATCH] [ItemWidget] Fixed items taking green tint after switching with grass. --- source/client/gui/ItemWidget.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/client/gui/ItemWidget.cpp b/source/client/gui/ItemWidget.cpp index f85e0e14..4c450dc9 100644 --- a/source/client/gui/ItemWidget.cpp +++ b/source/client/gui/ItemWidget.cpp @@ -70,6 +70,8 @@ void ItemWidget::updateImage(const BlockState *blockState) { if (blockState) m_image.setColor(blockState->colorMultiplier()); + else + m_image.setColor(gk::Color::White); m_isImage = true; }