summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index d5e32316c..6917cc465 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -858,7 +858,7 @@ void LocalPlayer::pickedUp(const ItemInfo &itemInfo, const int amount,
else
{
std::string str;
- if (serverVersion > 0)
+ if (Net::getServerFeatures()->haveItemColors())
str = itemInfo.getName(color);
else
str = itemInfo.getName();