Rename some API patches

This commit is contained in:
md_5 2013-06-02 11:21:49 +10:00
parent 3e06c41ce4
commit 383f357e29
2 changed files with 5 additions and 6 deletions

View File

@ -1,7 +1,7 @@
From 322c319a37b54ff2af1b3f8cb8b9c57ed88ae59f Mon Sep 17 00:00:00 2001 From 322c319a37b54ff2af1b3f8cb8b9c57ed88ae59f Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au> From: md_5 <md_5@live.com.au>
Date: Mon, 4 Mar 2013 18:31:20 +1100 Date: Mon, 4 Mar 2013 18:31:20 +1100
Subject: [PATCH] PlayerItemDamageEvent Subject: [PATCH] Add PlayerItemDamageEvent
diff --git a/src/main/java/org/bukkit/event/player/PlayerItemDamageEvent.java b/src/main/java/org/bukkit/event/player/PlayerItemDamageEvent.java diff --git a/src/main/java/org/bukkit/event/player/PlayerItemDamageEvent.java b/src/main/java/org/bukkit/event/player/PlayerItemDamageEvent.java

View File

@ -1,10 +1,9 @@
From 2fe038efb157d93ea3e3a60eb360694ea4e57f0e Mon Sep 17 00:00:00 2001 From 22f33ad24d44bb233901d9db865edf34b66e33d9 Mon Sep 17 00:00:00 2001
From: Tyler Blair <hidendra@griefcraft.com> From: Tyler Blair <hidendra@griefcraft.com>
Date: Tue, 9 Apr 2013 17:53:31 -0300 Date: Tue, 9 Apr 2013 17:53:31 -0300
Subject: [PATCH] InventoryClickEvent now can return if the click was a double Subject: [PATCH] Enhanced InventoryClickEvent
click. Fixes Bukkit-4035.
Added in MC 1.5 you can now double click an item which brings all items of that type onto your cursor from the container. There is currently no way to distinguish this from a normal click. Fixes Bukkit-4035. Added in MC 1.5 you can now double click an item which brings all items of that type onto your cursor from the container. There is currently no way to distinguish this from a normal click.
diff --git a/src/main/java/org/bukkit/event/inventory/CraftItemEvent.java b/src/main/java/org/bukkit/event/inventory/CraftItemEvent.java diff --git a/src/main/java/org/bukkit/event/inventory/CraftItemEvent.java b/src/main/java/org/bukkit/event/inventory/CraftItemEvent.java
old mode 100644 old mode 100644
@ -70,5 +69,5 @@ index 26e1d38..1c07a13
* @return True if the click is a shift-click. * @return True if the click is a shift-click.
*/ */
-- --
1.8.2.1 1.8.1.2