diff options
Diffstat (limited to 'Spigot-Server-Patches/0636-Implemented-BlockFailedDispenseEvent.patch')
-rw-r--r-- | Spigot-Server-Patches/0636-Implemented-BlockFailedDispenseEvent.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Spigot-Server-Patches/0636-Implemented-BlockFailedDispenseEvent.patch b/Spigot-Server-Patches/0636-Implemented-BlockFailedDispenseEvent.patch index 4921a370de..c2620d5836 100644 --- a/Spigot-Server-Patches/0636-Implemented-BlockFailedDispenseEvent.patch +++ b/Spigot-Server-Patches/0636-Implemented-BlockFailedDispenseEvent.patch @@ -29,7 +29,7 @@ index ccab4714bf5a6be8afd92430874fd6f881d4f92f..223cc0ba06cf4b007049880daad881e5 } else { ItemStack itemstack = tileentitydispenser.getItem(i); diff --git a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java -index 62fcf390e5cf5b76e1f7b34fea856911d9494044..d4b288e127cbd03ded93977fac0c40359525b92d 100644 +index 94476dfc0178f924fdad51b15f131ed266268776..a7f8e08dcbc102041891e51cbe9c984d6f43747b 100644 --- a/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java +++ b/src/main/java/org/bukkit/craftbukkit/event/CraftEventFactory.java @@ -4,6 +4,7 @@ import com.google.common.base.Function; @@ -40,7 +40,7 @@ index 62fcf390e5cf5b76e1f7b34fea856911d9494044..d4b288e127cbd03ded93977fac0c4035 import java.net.InetAddress; import java.util.ArrayList; import java.util.Collections; -@@ -121,7 +122,6 @@ import org.bukkit.entity.ThrownPotion; +@@ -123,7 +124,6 @@ import org.bukkit.entity.ThrownPotion; import org.bukkit.entity.Vehicle; import org.bukkit.entity.Villager; import org.bukkit.entity.Villager.Profession; @@ -48,8 +48,8 @@ index 62fcf390e5cf5b76e1f7b34fea856911d9494044..d4b288e127cbd03ded93977fac0c4035 import org.bukkit.event.Cancellable; import org.bukkit.event.Event; import org.bukkit.event.Event.Result; -@@ -1787,4 +1787,12 @@ public class CraftEventFactory { - +@@ -1796,4 +1796,12 @@ public class CraftEventFactory { + Bukkit.getPluginManager().callEvent(event); return event; } + |