diff --git a/src/main/java/com/lishid/openinv/internal/v1_10_R1/SpecialPlayerInventory.java b/src/main/java/com/lishid/openinv/internal/v1_10_R1/SpecialPlayerInventory.java index 53e682ab..057f0fcf 100644 --- a/src/main/java/com/lishid/openinv/internal/v1_10_R1/SpecialPlayerInventory.java +++ b/src/main/java/com/lishid/openinv/internal/v1_10_R1/SpecialPlayerInventory.java @@ -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; diff --git a/src/main/java/com/lishid/openinv/internal/v1_9_R1/SpecialPlayerInventory.java b/src/main/java/com/lishid/openinv/internal/v1_9_R1/SpecialPlayerInventory.java index 768dabeb..c89aa474 100644 --- a/src/main/java/com/lishid/openinv/internal/v1_9_R1/SpecialPlayerInventory.java +++ b/src/main/java/com/lishid/openinv/internal/v1_9_R1/SpecialPlayerInventory.java @@ -115,7 +115,7 @@ public ItemStack[] getContents() { @Override public int getSize() { - return super.getSize() + 5; + return super.getSize() + 4; } @Override diff --git a/src/main/java/com/lishid/openinv/internal/v1_9_R2/SpecialPlayerInventory.java b/src/main/java/com/lishid/openinv/internal/v1_9_R2/SpecialPlayerInventory.java index 48ad6a0d..5bf275bb 100644 --- a/src/main/java/com/lishid/openinv/internal/v1_9_R2/SpecialPlayerInventory.java +++ b/src/main/java/com/lishid/openinv/internal/v1_9_R2/SpecialPlayerInventory.java @@ -121,7 +121,7 @@ public ItemStack[] getContents() { @Override public int getSize() { - return super.getSize() + 5; + return super.getSize() + 4; } @Override diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index d62b000f..cde35c8e 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,6 +1,6 @@ name: OpenInv main: com.lishid.openinv.OpenInv -version: 2.5.0 +version: 2.5.1 author: lishid authors: [Jikoo] description: >