From 616ab2676cc932ab59152c510d584c429090987a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Sep 2014 11:50:28 +0300 Subject: Remove getter for serverFeatures. --- src/item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/item.cpp') diff --git a/src/item.cpp b/src/item.cpp index ca860eeea..b8c2194f3 100644 --- a/src/item.cpp +++ b/src/item.cpp @@ -117,7 +117,7 @@ Image *Item::getImage(const int id, const unsigned char color) std::string Item::getName() const { const ItemInfo &info = ItemDB::get(mId); - if (Net::getServerFeatures()->haveItemColors()) + if (serverFeatures->haveItemColors()) return info.getName(mColor); else return info.getName(); -- cgit v1.2.3-70-g09d2