Sfoglia il codice sorgente

Fix Serrated Strikes not processing Rupture for additional targets

nossr50 4 anni fa
parent
commit
989f7fd51b

+ 1 - 0
Changelog.txt

@@ -1,4 +1,5 @@
 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
     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");
                     }
 
-                    UserManager.getPlayer(attacker).getSwordsManager().processRupture(target);
+                    UserManager.getPlayer(attacker).getSwordsManager().processRupture(livingEntity);
                     break;
 
                 case AXES: