mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 16:59:43 +00:00
Fix Barrier + DBC Logic
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user