diff --git a/pom.xml b/pom.xml
index 5e04afb..1505c64 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.lishid
openinv
jar
- 2.3.3
+ 2.3.4
OpenInv
http://dev.bukkit.org/bukkit-plugins/openinv/
@@ -23,14 +23,14 @@
org.bukkit
bukkit
- 1.8.7-R0.1-SNAPSHOT
+ 1.8.8-R0.1-SNAPSHOT
provided
org.bukkit
craftbukkit
- 1.8.7-R0.1-SNAPSHOT
+ 1.8.8-R0.1-SNAPSHOT
provided
diff --git a/src/main/java/com/lishid/openinv/internal/SpecialPlayerInventory.java b/src/main/java/com/lishid/openinv/internal/SpecialPlayerInventory.java
index a53110d..fe1cdad 100644
--- a/src/main/java/com/lishid/openinv/internal/SpecialPlayerInventory.java
+++ b/src/main/java/com/lishid/openinv/internal/SpecialPlayerInventory.java
@@ -140,7 +140,7 @@ public class SpecialPlayerInventory extends PlayerInventory {
is[i] = null;
return itemstack;
} else {
- itemstack = is[i].a(j);
+ itemstack = is[i].cloneAndSubtract(j);
if (is[i].count == 0) {
is[i] = null;
}
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index 59fab5a..fc8109c 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.3.3
+version: 2.3.4
author: lishid
description: >
This plugin allows you to open a player's inventory as a chest and interact with it in real time.