Merge Damage and Source types.
This commit is contained in:
1 parent
a7b3fba018
commit
e8e84e00af
16 files changed
+177
-311
No files matched your search
@@ -1651,7 +1651,7 @@ public abstract class AbstractCharacter extends AbstractWorldObject {
|
||||
PowersManager.cancelOnTakeDamage(this);
|
||||
}
|
||||
|
||||
public final void cancelOnTakeDamage(final DamageType type, final float amount) {
|
||||
public final void cancelOnTakeDamage(final SourceType type, final float amount) {
|
||||
boolean changed = false;
|
||||
for (String s : this.effects.keySet()) {
|
||||
Effect eff = this.effects.get(s);
|
||||
|
||||
Reference in new issue
Block a user