forked from MagicBane/Server
Initial refactor of damagetype
This commit is contained in:
@@ -592,7 +592,7 @@ public class Effect {
|
||||
}
|
||||
|
||||
//Used for verifying when damage absorbers fails
|
||||
public boolean cancelOnTakeDamage(Enum.SourceType type, float amount) {
|
||||
public boolean cancelOnTakeDamage(Enum.DamageType type, float amount) {
|
||||
if (!this.eb.cancelOnTakeDamage())
|
||||
return false;
|
||||
if (this.eb == null || amount < 0f)
|
||||
|
||||
Reference in New Issue
Block a user