Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-15 20:40:07 +01:00
12 Zeilen
547 B
Diff
12 Zeilen
547 B
Diff
--- a/net/minecraft/server/EntitySpider.java
|
|
+++ b/net/minecraft/server/EntitySpider.java
|
|
@@ -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);
|
|
}
|
|
|