diff --git a/src/main/java/ch/njol/skript/conditions/CondIsUsingFeature.java b/src/main/java/ch/njol/skript/conditions/CondIsUsingFeature.java
index 39a23b740ab..00661817dd4 100644
--- a/src/main/java/ch/njol/skript/conditions/CondIsUsingFeature.java
+++ b/src/main/java/ch/njol/skript/conditions/CondIsUsingFeature.java
@@ -1,21 +1,3 @@
-/**
- * This file is part of Skript.
- *
- * Skript is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Skript is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with Skript. If not, see .
- *
- * Copyright Peter Güttinger, SkriptLang team and contributors
- */
package ch.njol.skript.conditions;
import ch.njol.skript.Skript;
@@ -30,9 +12,9 @@
import org.bukkit.event.Event;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
-import org.skriptlang.skript.lang.experiment.Experimented;
+import org.skriptlang.skript.lang.experiment.ExperimentSet;
+import org.skriptlang.skript.lang.script.Script;
-@SuppressWarnings("NotNullFieldNotInitialized")
@Name("Is Using Experimental Feature")
@Description("Checks whether a script is using an experimental feature by name.")
@Examples({"the script is using \"example feature\"",
@@ -44,20 +26,23 @@ public class CondIsUsingFeature extends Condition {
static {
Skript.registerCondition(CondIsUsingFeature.class,
- "[the] [current] script is using %strings%",
- "[the] [current] script is(n't| not) using %strings%");
+ "%script% is using %strings%",
+ "%scripts% are using %strings%",
+ "%script% is(n't| not) using %strings%",
+ "%scripts% are(n't| not) using %strings%");
}
private Expression names;
- private Experimented snapshot;
+ private Expression