summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockMonsterEggs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/BlockMonsterEggs.patch')
-rw-r--r--nms-patches/BlockMonsterEggs.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/BlockMonsterEggs.patch b/nms-patches/BlockMonsterEggs.patch
index 1a4ae342..ae60b27d 100644
--- a/nms-patches/BlockMonsterEggs.patch
+++ b/nms-patches/BlockMonsterEggs.patch
@@ -15,6 +15,6 @@
entitysilverfish.setPositionRotation((double) blockposition.getX() + 0.5D, (double) blockposition.getY(), (double) blockposition.getZ() + 0.5D, 0.0F, 0.0F);
- world.addEntity(entitysilverfish);
+ world.addEntity(entitysilverfish, SpawnReason.SILVERFISH_BLOCK); // CraftBukkit - add SpawnReason
- entitysilverfish.y();
+ entitysilverfish.doSpawnEffect();
}