geforkt von Mirrors/Paper
Add SpawnReason.DROWNED
By: klugemonkey <klugemonkey@spawnchunk.com>
Dieser Commit ist enthalten in:
Ursprung
7b6e8dded6
Commit
94d8c51934
@ -30,6 +30,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -220,7 +234,7 @@
|
||||
entityzombie.setCustomNameVisible(this.getCustomNameVisible());
|
||||
}
|
||||
|
||||
- this.world.addEntity(entityzombie);
|
||||
+ this.world.addEntity(entityzombie, CreatureSpawnEvent.SpawnReason.DROWNED); // CraftBukkit - added spawn reason
|
||||
this.die();
|
||||
}
|
||||
}
|
||||
@@ -251,8 +265,8 @@
|
||||
if (this.world.getType(new BlockPosition(i1, j1 - 1, k1)).q() && this.world.getLightLevel(new BlockPosition(i1, j1, k1)) < 10) {
|
||||
entityzombie.setPosition((double) i1, (double) j1, (double) k1);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren