[Auto] Updated Upstream (Bukkit)

Upstream has released updates that appears to apply and compile correctly.
This update has not been tested by PaperMC and as with ANY update, please do your own testing

Bukkit Changes:
217dc08d SPIGOT-4634: Make Inventory iteration behaviour explicit
This commit is contained in:
Aikar
2019-02-25 03:16:35 -05:00
parent e6fc2d18c3
commit 91129b798e
2 changed files with 4 additions and 4 deletions

View File

@@ -1,14 +1,14 @@
From ffab9eae4ca06c397e8b4ac825718180dfd3fa3b Mon Sep 17 00:00:00 2001
From ebaecfd4aee0b13db35408adbfb670c0f1c3856d Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com>
Date: Tue, 28 Aug 2018 23:04:06 -0400
Subject: [PATCH] Inventory#removeItemAnySlot
diff --git a/src/main/java/org/bukkit/inventory/Inventory.java b/src/main/java/org/bukkit/inventory/Inventory.java
index 3585f109..6992b702 100644
index bab561dc..9d0306c3 100644
--- a/src/main/java/org/bukkit/inventory/Inventory.java
+++ b/src/main/java/org/bukkit/inventory/Inventory.java
@@ -121,6 +121,33 @@ public interface Inventory extends Iterable<ItemStack> {
@@ -131,6 +131,33 @@ public interface Inventory extends Iterable<ItemStack> {
*/
public HashMap<Integer, ItemStack> removeItem(ItemStack... items) throws IllegalArgumentException;