Archiviert
13
0

Made BlockPumpkin report an appropriate SpawnReason.BUILD_SNOWMAN when a snowman is spawned.

Dieser Commit ist enthalten in:
EvilSeph 2012-02-08 18:28:41 -05:00
Ursprung 8e7e073523
Commit 6d67456970

Datei anzeigen

@ -43,7 +43,7 @@ public class BlockPumpkin extends Block {
EntitySnowman entitysnowman = new EntitySnowman(world); EntitySnowman entitysnowman = new EntitySnowman(world);
entitysnowman.setPositionRotation((double) i + 0.5D, (double) j - 1.95D, (double) k + 0.5D, 0.0F, 0.0F); entitysnowman.setPositionRotation((double) i + 0.5D, (double) j - 1.95D, (double) k + 0.5D, 0.0F, 0.0F);
world.addEntity(entitysnowman); world.addEntity(entitysnowman, org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason.BUILD_SNOWMAN); // CraftBukkit
} }
for (int l = 0; l < 120; ++l) { for (int l = 0; l < 120; ++l) {