Skip to content

Commit

Permalink
Merge pull request #333 from khjxiaogu/patch-2
Browse files Browse the repository at this point in the history
Fix dupe blasting powder block(#332)
  • Loading branch information
tritespartan17 authored Feb 3, 2023
2 parents befd67f + 53437ec commit 8dd8bb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public BlastingPowderBlock(Properties properties) {

@Override
public void catchFire(BlockState state, World world, BlockPos pos, @Nullable net.minecraft.util.Direction face, @Nullable LivingEntity igniter) {
world.createExplosion(igniter, pos.getX(), pos.getY() + 16 * .0625D, pos.getZ(), 2.4F, Explosion.Mode.BREAK);
world.removeBlock(pos, false);
world.createExplosion(igniter, pos.getX(), pos.getY() + 16 * .0625D, pos.getZ(), 2.4F, Explosion.Mode.BREAK);
}

@Override
Expand Down

0 comments on commit 8dd8bb0

Please sign in to comment.