SPIGOT-660 remove unrequired patch.

This commit is contained in:
md_5 2015-03-13 18:12:06 +11:00 committed by Zach Brown
parent ad93cd940f
commit 6602a253c2
5 changed files with 4 additions and 25 deletions

View file

@ -1,4 +1,4 @@
From be9723d72b54939a82aef0e0d7e3bf466c7b59db Mon Sep 17 00:00:00 2001 From b64f2429d9125f7543cdc85433411d9dc82e84f1 Mon Sep 17 00:00:00 2001
From: md_5 <git@md-5.net> From: md_5 <git@md-5.net>
Date: Sat, 13 Dec 2014 13:06:05 +1100 Date: Sat, 13 Dec 2014 13:06:05 +1100
Subject: [PATCH] BungeeCord Chat API Subject: [PATCH] BungeeCord Chat API

View file

@ -1,21 +0,0 @@
From b380d4bfcb871cf8c761e4446e5f72fdfb7af0fa Mon Sep 17 00:00:00 2001
From: md_5 <git@md-5.net>
Date: Tue, 30 Sep 2014 21:49:10 +1000
Subject: [PATCH] Don't Fire InventoryCloseEvent Unless Required
diff --git a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
index ed762cd..fd20f9e 100644
--- a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
+++ b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java
@@ -833,6 +833,7 @@ public class CraftEventFactory {
}
public static void handleInventoryCloseEvent(EntityHuman human) {
+ if (human.activeContainer == human.defaultContainer) return; // Spigot
InventoryCloseEvent event = new InventoryCloseEvent(human.activeContainer.getBukkitView());
human.world.getServer().getPluginManager().callEvent(event);
human.activeContainer.transferTo(human.defaultContainer, human.getBukkitEntity());
--
2.1.0

View file

@ -1,4 +1,4 @@
From 8a2d1364f6443c563cf18dc6c29c020f8fd9e286 Mon Sep 17 00:00:00 2001 From 52f937dd4b3d4cfa5bd12c17bd4b38400459bcef Mon Sep 17 00:00:00 2001
From: md_5 <git@md-5.net> From: md_5 <git@md-5.net>
Date: Fri, 20 Feb 2015 21:33:36 +1100 Date: Fri, 20 Feb 2015 21:33:36 +1100
Subject: [PATCH] Use Standard List for EntitySlices. Subject: [PATCH] Use Standard List for EntitySlices.

View file

@ -1,4 +1,4 @@
From 18f8cbc694301758d04d4321c51694546bc463db Mon Sep 17 00:00:00 2001 From bc129e3ad9c9823db73c7c4ade4ca55131b0a5b7 Mon Sep 17 00:00:00 2001
From: md_5 <git@md-5.net> From: md_5 <git@md-5.net>
Date: Fri, 20 Feb 2015 21:39:31 +1100 Date: Fri, 20 Feb 2015 21:39:31 +1100
Subject: [PATCH] Allow Capping (Tile)Entity Tick Time. Subject: [PATCH] Allow Capping (Tile)Entity Tick Time.

View file

@ -1,4 +1,4 @@
From 8c7895c3cc2cd187f7e2a9739654c79a4f6ed28e Mon Sep 17 00:00:00 2001 From f77927deb4acc0d5f8bf0f4ab833fe8b673b86bd Mon Sep 17 00:00:00 2001
From: md_5 <git@md-5.net> From: md_5 <git@md-5.net>
Date: Sun, 22 Feb 2015 12:27:40 +1100 Date: Sun, 22 Feb 2015 12:27:40 +1100
Subject: [PATCH] Use FastMatches for ItemStack Dirty Check Subject: [PATCH] Use FastMatches for ItemStack Dirty Check