Made BlockPumpkin report an appropriate SpawnReason.BUILD_SNOWMAN when a snowman is spawned.
Dieser Commit ist enthalten in:
Ursprung
8e7e073523
Commit
6d67456970
@ -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) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren