From 8dbbe80dbfc2f3586010d3ef6fb3c6a23b603232 Mon Sep 17 00:00:00 2001 From: ShadowRanger Date: Thu, 27 Aug 2015 19:52:56 +1000 Subject: [PATCH] Fixed an error & updated Bukkit --- pom.xml | 6 +++--- .../com/lishid/openinv/internal/SpecialPlayerInventory.java | 2 +- src/main/resources/plugin.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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.