diff options
author | madmaxoft <github@xoft.cz> | 2014-01-06 22:22:33 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-01-06 22:22:33 +0100 |
commit | 9c8af58b7546448e9168ca6d70b5ba9a7f4330d7 (patch) | |
tree | 6c387a2d177f6ee3a22038ba760f6a4e4390332b /src/Item.h | |
parent | Merge pull request #511 from mc-server/CmakeOutput (diff) | |
download | cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.tar cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.tar.gz cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.tar.bz2 cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.tar.lz cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.tar.xz cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.tar.zst cuberite-9c8af58b7546448e9168ca6d70b5ba9a7f4330d7.zip |
Diffstat (limited to 'src/Item.h')
-rw-r--r-- | src/Item.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Item.h b/src/Item.h index c60d0542c..64a30ade1 100644 --- a/src/Item.h +++ b/src/Item.h @@ -181,9 +181,9 @@ public: void Delete(int a_Idx); void Clear (void) {clear(); } int Size (void) {return size(); } - void Set (int a_Idx, ENUM_ITEM_ID a_ItemType, char a_ItemCount, short a_ItemDamage); + void Set (int a_Idx, short a_ItemType, char a_ItemCount, short a_ItemDamage); - void Add (ENUM_ITEM_ID a_ItemType, char a_ItemCount, short a_ItemDamage) + void Add (short a_ItemType, char a_ItemCount, short a_ItemDamage) { push_back(cItem(a_ItemType, a_ItemCount, a_ItemDamage)); } |