Skip to content

Commit

Permalink
Fixed armor/offhand slot display in 1.10
Browse files Browse the repository at this point in the history
Whoops :D
  • Loading branch information
Jikoo committed Jul 9, 2016
1 parent 23bda96 commit 3312ed9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ public ItemStack[] getContents() {
return contents;
}

@Override
public int getSize() {
return super.getSize() + 4;
}

@Override
public ItemStack getItem(int i) {
ItemStack[] is = this.items;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public ItemStack[] getContents() {

@Override
public int getSize() {
return super.getSize() + 5;
return super.getSize() + 4;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public ItemStack[] getContents() {

@Override
public int getSize() {
return super.getSize() + 5;
return super.getSize() + 4;
}

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: OpenInv
main: com.lishid.openinv.OpenInv
version: 2.5.0
version: 2.5.1
author: lishid
authors: [Jikoo]
description: >
Expand Down

0 comments on commit 3312ed9

Please sign in to comment.