Merge pull request #207 from AartBluestoke/patch-10
StackUtil.itemsAdded should be >0 when doAdd is false. Closes #160
This commit is contained in:
commit
65ac840b0b
1 changed files with 2 additions and 1 deletions
|
@ -235,8 +235,9 @@ public class StackUtil {
|
|||
|
||||
if (doAdd) {
|
||||
stack.stackSize++;
|
||||
itemsAdded++;
|
||||
}
|
||||
itemsAdded++;
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue