Skip to content

Commit

Permalink
[1.21] Fix ExplosionMixin (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
MerchantPug authored Aug 25, 2024
1 parent 0eaa9bd commit b376131
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public abstract class ExplosionMixin {
private Level level;

@Inject(method = "explode", at = @At(value = "NEW", target = "net/minecraft/world/phys/Vec3", ordinal = 1), locals = LocalCapture.CAPTURE_FAILHARD)
public void onExplode(CallbackInfo ci, Set<BlockPos> blocks, float j, int k, int l, int r, int s, int t, int u, List<Entity> list) {
public void onExplode(CallbackInfo ci, Set<BlockPos> blocks, int i, float j, int k, int l, int r, int s, int t, int u, List<Entity> list) {
ExplosionEvents.DETONATE.invoker().onDetonate(this.level, (Explosion) (Object) this, list, j);
}
}

0 comments on commit b376131

Please sign in to comment.