Skip to content

Commit

Permalink
Nerf tnt minecarts
Browse files Browse the repository at this point in the history
  • Loading branch information
GroobleDierne committed Dec 23, 2024
1 parent 18e4472 commit 9a48608
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private boolean isCardinalMove(Location loc1, Location loc2) {

@EventHandler
public void onCrystalExplode(EntityDamageByEntityEvent event) {
if (event.getDamager().getType() != EntityType.END_CRYSTAL)
if (event.getDamager().getType() != EntityType.END_CRYSTAL && event.getDamager().getType() != EntityType.TNT_MINECART)
return;

event.setDamage(event.getDamage()
Expand Down

0 comments on commit 9a48608

Please sign in to comment.