We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bcd5cb commit ff56acfCopy full SHA for ff56acf
1 file changed
src/main/java/ch/njol/skript/ScriptLoader.java
@@ -1005,11 +1005,6 @@ public static ArrayList<TriggerItem> loadItems(SectionNode node) {
1005
// restore the failure log
1006
if (errors.isEmpty()) {
1007
handler.restore(backup);
1008
- } else { // We specifically want these two errors in preference to the section error!
1009
- String firstError = errors.iterator().next().getMessage();
1010
- if (!firstError.contains("is a valid statement but cannot function as a section (:)")
1011
- && !firstError.contains("You cannot have two section-starters in the same line"))
1012
- handler.restore(backup);
1013
}
1014
continue;
1015
} finally {
0 commit comments