Skip to content

Commit aae6c93

Browse files
committed
Bugfix: CombatDamageStack now accepts values from other sources than itself
1 parent 429ec89 commit aae6c93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/luna/game/model/mob/combat/CombatDamageStack.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public CombatDamageStack(Mob mob) {
4848
* @param damage The damage entry to buffer.
4949
*/
5050
public void push(Mob source, CombatDamage damage) {
51-
if (mob.equals(source)) {
51+
if (!mob.equals(source)) {
5252
buffer.put(source, damage);
5353
}
5454
}

0 commit comments

Comments
 (0)