summaryrefslogtreecommitdiffstats
path: root/nms-patches/IInventory.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/IInventory.patch')
-rw-r--r--nms-patches/IInventory.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/nms-patches/IInventory.patch b/nms-patches/IInventory.patch
index 16aa68e4..0d2e884c 100644
--- a/nms-patches/IInventory.patch
+++ b/nms-patches/IInventory.patch
@@ -1,20 +1,20 @@
--- a/net/minecraft/server/IInventory.java
+++ b/net/minecraft/server/IInventory.java
-@@ -1,6 +1,7 @@
+@@ -1,5 +1,7 @@
package net.minecraft.server;
- import javax.annotation.Nullable;
+import org.bukkit.craftbukkit.entity.CraftHumanEntity; // CraftBukkit
-
++
public interface IInventory extends INamableTileEntity {
-@@ -36,4 +37,22 @@
- int g();
+ int getSize();
+@@ -33,4 +35,22 @@
+ int h();
- void l();
+ void clear();
+
+ // CraftBukkit start
-+ ItemStack[] getContents();
++ java.util.List<ItemStack> getContents();
+
+ void onOpen(CraftHumanEntity who);
+