summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntitySpider.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntitySpider.patch')
-rw-r--r--nms-patches/EntitySpider.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/EntitySpider.patch b/nms-patches/EntitySpider.patch
index d4e19fdb..8688249b 100644
--- a/nms-patches/EntitySpider.patch
+++ b/nms-patches/EntitySpider.patch
@@ -1,11 +1,11 @@
--- a/net/minecraft/server/EntitySpider.java
+++ b/net/minecraft/server/EntitySpider.java
-@@ -112,7 +112,7 @@
+@@ -108,7 +108,7 @@
entityskeleton.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, 0.0F);
entityskeleton.prepare(difficultydamagescaler, (GroupDataEntity) null);
- this.world.addEntity(entityskeleton);
+ this.world.addEntity(entityskeleton, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.JOCKEY); // CraftBukkit - add SpawnReason
- entityskeleton.mount(this);
+ entityskeleton.startRiding(this);
}