Skip to content

Commit

Permalink
Update to 1.19
Browse files Browse the repository at this point in the history
  • Loading branch information
2No2Name committed Jul 14, 2023
1 parent 0de165c commit 39ee88b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private void setOnFireFromLava(TntMinecartEntity tntCart) {
return;
}
tntCart.setOnFireFor(15);
if (tntCart.damage(DamageSource.LAVA, 4.0f)) {
if (tntCart.damage(tntCart.getDamageSources().cactus(), 4.0f)) {
tntCart.playSound(SoundEvents.ENTITY_GENERIC_BURN, 0.4f, 2.0f + tntCart.getWorld().random.nextFloat() * 0.4f);
}
}
Expand Down

0 comments on commit 39ee88b

Please sign in to comment.