Skip to content

Commit

Permalink
Fixed damage_twice only working once
Browse files Browse the repository at this point in the history
  • Loading branch information
0ft3n committed Sep 1, 2024
1 parent b071034 commit b95363c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ object EffectDamageTwice : Effect<NoCompileData>("damage_twice") {
val victim = data.victim ?: return false

if (victim.hasMetadata(META_KEY)) {
victim.removeMetadata(META_KEY, plugin)
return false
}

Expand Down

0 comments on commit b95363c

Please sign in to comment.