Commits
md_5 authored aa008dff0f9
1 - | --- a/net/minecraft/server/BiomeTheEndDecorator.java |
2 - | +++ b/net/minecraft/server/BiomeTheEndDecorator.java |
3 - | |
4 - | EntityEnderDragon entityenderdragon = new EntityEnderDragon(this.a); |
5 - | |
6 - | entityenderdragon.setPositionRotation(0.0D, 128.0D, 0.0D, this.b.nextFloat() * 360.0F, 0.0F); |
7 - | - this.a.addEntity(entityenderdragon); |
8 - | + this.a.addEntity(entityenderdragon, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.CHUNK_GEN); // CraftBukkit - add SpawnReason |
9 - | } |
10 - | |
11 - | } |