PaperMC/paper-server/nms-patches/EntitySpider.patch
CraftBukkit/Spigot 85be409b13 Update to Minecraft 1.8.3
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-26 22:41:06 +00:00

11 lines
656 B
Diff

--- /home/matt/mc-dev-private//net/minecraft/server/EntitySpider.java 2015-02-26 22:40:22.699608138 +0000
+++ src/main/java/net/minecraft/server/EntitySpider.java 2015-02-26 22:40:22.699608138 +0000
@@ -112,7 +112,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);
}