aboutsummaryrefslogtreecommitdiffhomepage
path: root/patch-remap/og/net/minecraft/world/entity/monster/EntitySpider.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-remap/og/net/minecraft/world/entity/monster/EntitySpider.patch')
-rw-r--r--patch-remap/og/net/minecraft/world/entity/monster/EntitySpider.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/entity/monster/EntitySpider.patch b/patch-remap/og/net/minecraft/world/entity/monster/EntitySpider.patch
new file mode 100644
index 0000000000..530bbaf31d
--- /dev/null
+++ b/patch-remap/og/net/minecraft/world/entity/monster/EntitySpider.patch
@@ -0,0 +1,11 @@
+--- a/net/minecraft/world/entity/monster/EntitySpider.java
++++ b/net/minecraft/world/entity/monster/EntitySpider.java
+@@ -182,7 +182,7 @@
+ MobEffectList mobeffectlist = entityspider_groupdataspider.effect;
+
+ if (mobeffectlist != null) {
+- this.addEffect(new MobEffect(mobeffectlist, -1));
++ this.addEffect(new MobEffect(mobeffectlist, -1), org.bukkit.event.entity.EntityPotionEffectEvent.Cause.SPIDER_SPAWN); // CraftBukkit
+ }
+ }
+