Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
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.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) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren