Fix Barrier + DBC Logic

This commit is contained in:
Kam committed 2026-02-24 23:52:01 -05:00
1 parent 481c7ee5cb
commit 8a998c6f62
5 files changed
+37 -10

No files matched your search

@@ -442,7 +442,7 @@ public class EntityAbilityLaser extends EntityEnergyProjectile {
endZ = startZ + dirZ * currentLength;
}
if (handleBarrierHitOutcome(dome, hitOutcome)) {
if (handleBarrierHitOutcome(dome, hitOutcome, damage)) {
return true;
}
return false;
@@ -475,7 +475,7 @@ public class EntityAbilityLaser extends EntityEnergyProjectile {
endZ = startZ + dirZ * currentLength;
}
if (handleBarrierHitOutcome(barrier, hitOutcome)) {
if (handleBarrierHitOutcome(barrier, hitOutcome, damage)) {
return true;
}
return false;