-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blitz FFAs allowing players to join midgame #961
Comments
I think it's more related to #960 . |
that was my initial thought, however the Stratus fork this was tested on has #945 but not #960 to my knowledge. the Stratus fork this was tested on has a different change to fix what #960 solved. edit: the aforementioned change (won't apply upstream as it applies onto a previous version of #951) index 6114b1f6..6e3b97fd 100644
--- a/core/src/main/java/tc/oc/pgm/stats/StatsMatchModule.java
+++ b/core/src/main/java/tc/oc/pgm/stats/StatsMatchModule.java
@@ -103,8 +103,10 @@ public class StatsMatchModule implements MatchModule, Listener {
Math.min(event.getFinalDamage(), ((Player) event.getEntity()).getHealth())
+ absorptionHearts;
- if (damager != null) getPlayerStat(damager).onDamage(realFinalDamage, bow);
- if (damaged != null) getPlayerStat(damaged).onDamaged(realFinalDamage, bow);
+ if (damager != null) {
+ getPlayerStat(damager).onDamage(realFinalDamage, bow);
+ getPlayerStat(damaged).onDamaged(realFinalDamage, bow);
+ }
}
@EventHandler``` |
The regression is caused by 5cd0197, 5cd0197#diff-7a44dedefcea2791290af6b24d7cc76eb9dff89f21bff531b56551ad57e35ecaR98 |
Mind taking a look @applenick? |
In Blitz FFA (not team blitz, but specifically only ffa blitz) you can join from observers into the active players midgame, which absolutely ruins lots of maps of course
I tested on both Stratus and OCC, on multiple maps, it always seems to be blitz ffas in particular
The text was updated successfully, but these errors were encountered: