--- a/net/minecraft/world/level/levelgen/structure/structures/StrongholdPieces.java
+++ b/net/minecraft/world/level/levelgen/structure/structures/StrongholdPieces.java
@@ -870,10 +_,13 @@
                 BlockPos worldPos = this.getWorldPos(5, 3, 6);
                 if (box.isInside(worldPos)) {
                     this.hasPlacedSpawner = true;
-                    level.setBlock(worldPos, Blocks.SPAWNER.defaultBlockState(), 2);
-                    if (level.getBlockEntity(worldPos) instanceof SpawnerBlockEntity spawnerBlockEntity) {
-                        spawnerBlockEntity.setEntityId(EntityType.SILVERFISH, random);
-                    }
+                    // CraftBukkit start
+                    // level.setBlock(worldPos, Blocks.SPAWNER.defaultBlockState(), 2);
+                    // if (level.getBlockEntity(worldPos) instanceof SpawnerBlockEntity spawnerBlockEntity) {
+                    //     spawnerBlockEntity.setEntityId(EntityType.SILVERFISH, random);
+                    // }
+                    this.placeCraftSpawner(level, worldPos, org.bukkit.entity.EntityType.SILVERFISH, 2);
+                    // CraftBukkit end
                 }
             }
         }
