Skip to content

Commit

Permalink
[ItemWidget] Fixed items taking green tint after switching with grass.
Browse files Browse the repository at this point in the history
  • Loading branch information
Unarelith committed Jul 11, 2020
1 parent 6a68b1a commit bd5174b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/client/gui/ItemWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit bd5174b

Please sign in to comment.