3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 21:10:17 +01:00

Added SpawnReason.SLIME_SPLIT, Fixes BUKKIT-790

Dieser Commit ist enthalten in:
feildmaster 2012-04-14 01:38:22 -05:00
Ursprung 1dcb39074d
Commit e17d3ece00

Datei anzeigen

@ -157,7 +157,7 @@ public class EntitySlime extends EntityLiving implements IMonster {
entityslime.setSize(i / 2); entityslime.setSize(i / 2);
entityslime.setPositionRotation(this.locX + (double) f, this.locY + 0.5D, this.locZ + (double) f1, this.random.nextFloat() * 360.0F, 0.0F); entityslime.setPositionRotation(this.locX + (double) f, this.locY + 0.5D, this.locZ + (double) f1, this.random.nextFloat() * 360.0F, 0.0F);
this.world.addEntity(entityslime); this.world.addEntity(entityslime, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.SLIME_SPLIT); // CraftBukkit - SpawnReason
} }
} }