Skip to content

Commit

Permalink
Merge pull request #1959 from spring-dependency-management/explosion-fix
Browse files Browse the repository at this point in the history
Fix explosion false when dead
  • Loading branch information
ManInMyVan authored Jan 20, 2025
2 parents 1e8fc58 + d7368ce commit 0f50bde
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public void onPredictionComplete(final PredictionComplete predictionComplete) {
}

// 100% known kb was taken
if (player.likelyExplosions != null) {
if (player.likelyExplosions != null && !player.compensatedEntities.getSelf().isDead) {
if (player.likelyExplosions.offset > offsetToFlag) {
if (flagAndAlert(player.likelyExplosions.offset == Integer.MAX_VALUE ? "ignored explosion" : "o: " + formatOffset(offset))) {
setbackIfAboveSetbackVL();
Expand Down

0 comments on commit 0f50bde

Please sign in to comment.