Merge pull request #33 from ShadowRanger/master

Fixed an error & updated Bukkit
This commit is contained in:
ShadowRanger 2015-08-27 19:55:33 +10:00
commit 69c355c8cd
3 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@
<groupId>com.lishid</groupId>
<artifactId>openinv</artifactId>
<packaging>jar</packaging>
<version>2.3.3</version>
<version>2.3.4</version>
<name>OpenInv</name>
<url>http://dev.bukkit.org/bukkit-plugins/openinv/</url>
@ -23,14 +23,14 @@
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>bukkit</artifactId>
<version>1.8.7-R0.1-SNAPSHOT</version>
<version>1.8.8-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.bukkit</groupId>
<artifactId>craftbukkit</artifactId>
<version>1.8.7-R0.1-SNAPSHOT</version>
<version>1.8.8-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>

View file

@ -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;
}

View file

@ -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.