Skip to content

Commit

Permalink
Fixed mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Faboslav committed Nov 15, 2024
1 parent 9e6d783 commit 2106d61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ private void friendsandfoes_processEntities(
if (ctx.structurePlacementData().shouldInitializeMobs() && entity instanceof MobEntity) {
((MobEntity) entity).initialize(
serverWorldAccess,
serverWorldAccess.getLocalDifficulty(new BlockPos(entityPos)),
serverWorldAccess.getLocalDifficulty(BlockPos.ofFloored(entityPos)),
SpawnReason.STRUCTURE,
null,
entityNbt
Expand Down

0 comments on commit 2106d61

Please sign in to comment.