Skip to content

Commit

Permalink
Finally get the new ExplosionImplMixin right
Browse files Browse the repository at this point in the history
  • Loading branch information
ArkoSammy12 committed Dec 8, 2024
1 parent 7d916ef commit 8618a9a
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ public abstract class ExplosionImplMixin implements Explosion, ExplosionImplDuck

@Shadow @Nullable public abstract LivingEntity getCausingEntity();

@Shadow protected abstract List<BlockPos> getBlocksToDestroy();

@Shadow public abstract ServerWorld getWorld();

@Unique
Expand Down Expand Up @@ -204,7 +202,7 @@ private void checkForIndirectlyAffectedPositions() {
if (neighborState.isAir()) {
continue;
}
if (!this.getBlocksToDestroy().contains(neighborPos)) {
if (!this.vanillaAffectedPositions.contains(neighborPos)) {
edgeAffectedPositions.add(vanillaAffectedPosition);
break;
}
Expand Down

0 comments on commit 8618a9a

Please sign in to comment.