Permalink
Browse files

Merge pull request #2 from miceiken/patch-1

Fixed WoWContainer bug.
  • Loading branch information...
2 parents 2eebfe5 + f22f970 commit 997069d372f718bdf8ea0b011345bbb246de3daf @stschake committed Jan 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cleanCore/WoWContainer.cs
@@ -22,7 +22,7 @@ public uint Slots
public ulong GetItemGuid(int index)
{
- if (index > 35 || index >= Slots || index <= 0)
+ if (index > 35 || index >= Slots || index < 0)
return 0;
return GetDescriptor<ulong>((int) ContainerField.CONTAINER_FIELD_SLOT_1 + (index*8));

0 comments on commit 997069d

Please sign in to comment.