mirror of
https://github.com/ErikasKontenis/SabrehavenServer.git
synced 2025-11-29 15:56:50 +01:00
update new many items from 7.81. Also fix issue with runes charges to not stack and not throw client debug.
This commit is contained in:
@@ -711,7 +711,9 @@ class Item : virtual public Thing
|
||||
bool canDistUse() const {
|
||||
return items[id].distUse;
|
||||
}
|
||||
|
||||
bool isRune() const {
|
||||
return items[id].isRune();
|
||||
}
|
||||
const std::string& getName() const {
|
||||
if (hasAttribute(ITEM_ATTRIBUTE_NAME)) {
|
||||
return getStrAttr(ITEM_ATTRIBUTE_NAME);
|
||||
|
||||
Reference in New Issue
Block a user