Commits
md_5 authored d63abf6cf1b
1 - | --- /home/matt/mc-dev-private//net/minecraft/server/BiomeTheEndDecorator.java 2015-02-26 22:40:21.971608146 +0000 |
2 - | +++ src/main/java/net/minecraft/server/BiomeTheEndDecorator.java 2015-02-26 22:40:21.971608146 +0000 |
1 + | --- a/net/minecraft/server/BiomeTheEndDecorator.java |
2 + | +++ b/net/minecraft/server/BiomeTheEndDecorator.java |
3 3 | |
4 4 | EntityEnderDragon entityenderdragon = new EntityEnderDragon(this.a); |
5 5 | |
6 6 | entityenderdragon.setPositionRotation(0.0D, 128.0D, 0.0D, this.b.nextFloat() * 360.0F, 0.0F); |
7 7 | - this.a.addEntity(entityenderdragon); |
8 8 | + this.a.addEntity(entityenderdragon, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.CHUNK_GEN); // CraftBukkit - add SpawnReason |
9 9 | } |
10 10 | |
11 11 | } |