Skip to content

Commit

Permalink
patch inventory copy issues with some mob types, fixes Citizens2#1728
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Mar 31, 2019
1 parent 81385f4 commit 7aab5e7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -188,7 +188,7 @@ public void setContents(ItemStack[] contents) {
dest.setItem(i, contents[i]);
}
if (view != null) {
for (int i = 0; i < view.getSize(); i++) {
for (int i = 0; i < maxCopySize; i++) {
view.setItem(i, contents[i]);
}
}
Expand Down

0 comments on commit 7aab5e7

Please sign in to comment.