Browse Source

Fix Serrated Strikes not processing Rupture for additional targets

nossr50 4 years ago
parent
commit
989f7fd51b
2 changed files with 2 additions and 1 deletions
  1. 1 0
      Changelog.txt
  2. 1 1
      src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java

+ 1 - 0
Changelog.txt

@@ -1,4 +1,5 @@
 Version 2.1.196
 Version 2.1.196
+    Fixed a bug where Rupture never applied to additional targets during Serrated Strikes
     Fixed a possible null error for our SelfListener
     Fixed a possible null error for our SelfListener
     Crossbows can now be fished up with enchantments
     Crossbows can now be fished up with enchantments
 
 

+ 1 - 1
src/main/java/com/gmail/nossr50/util/skills/CombatUtils.java

@@ -712,7 +712,7 @@ public final class CombatUtils {
                         NotificationManager.sendPlayerInformation((Player)entity, NotificationType.SUBSKILL_MESSAGE, "Swords.Combat.SS.Struck");
                         NotificationManager.sendPlayerInformation((Player)entity, NotificationType.SUBSKILL_MESSAGE, "Swords.Combat.SS.Struck");
                     }
                     }
 
 
-                    UserManager.getPlayer(attacker).getSwordsManager().processRupture(target);
+                    UserManager.getPlayer(attacker).getSwordsManager().processRupture(livingEntity);
                     break;
                     break;
 
 
                 case AXES:
                 case AXES: