Skip to content

Commit

Permalink
Update SecConditional.java (#4213)
Browse files Browse the repository at this point in the history
  • Loading branch information
TPGamesNL authored Jul 24, 2021
1 parent 6e7eca0 commit 4c4920a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/ch/njol/skript/sections/SecConditional.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,6 @@ protected TriggerItem walk(Event e) {
return getNormalNext();
} else if (type == ConditionalType.ELSE || parseIf || condition.check(e)) {
TriggerItem skippedNext = getSkippedNext();
setNext(skippedNext);

if (last != null)
last.setNext(skippedNext);
return first != null ? first : skippedNext;
Expand Down

0 comments on commit 4c4920a

Please sign in to comment.