2015-05-25 18:37:24 +08:00
|
|
|
--- a/net/minecraft/server/EntitySpider.java
|
|
|
|
+++ b/net/minecraft/server/EntitySpider.java
|
2016-06-09 09:43:49 +08:00
|
|
|
@@ -115,7 +115,7 @@
|
2014-11-26 05:32:16 +08:00
|
|
|
|
|
|
|
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
|
2016-03-01 05:32:46 +08:00
|
|
|
entityskeleton.startRiding(this);
|
2014-11-26 05:32:16 +08:00
|
|
|
}
|
|
|
|
|