Skip to content

Commit 7c17430

Browse files
Prepare For Release (2.12.0-pre2)
1 parent 2918a1f commit 7c17430

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ org.gradle.parallel=true
55

66
groupid=ch.njol
77
name=skript
8-
version=2.12.0-pre1
8+
version=2.12.0-pre2
99
jarName=Skript.jar
1010
testEnv=java21/paper-1.21.7
1111
testEnvJavaVersion=21

src/main/java/ch/njol/skript/conditions/base/PropertyCondition.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public enum PropertyType {
8989
* and then register it using {@code registry} ({@link SyntaxRegistry#register(SyntaxRegistry.Key, SyntaxInfo)}).
9090
*/
9191
@ApiStatus.Experimental
92-
@Deprecated(since = "INSERT VERSION", forRemoval = true)
92+
@Deprecated(since = "2.12", forRemoval = true)
9393
public static <E extends Condition> SyntaxInfo<E> register(SyntaxRegistry registry, Class<E> condition, String property, String type) {
9494
return register(registry, condition, PropertyType.BE, property, type);
9595
}
@@ -106,7 +106,7 @@ public static <E extends Condition> SyntaxInfo<E> register(SyntaxRegistry regist
106106
* and then register it using {@code registry} ({@link SyntaxRegistry#register(SyntaxRegistry.Key, SyntaxInfo)}).
107107
*/
108108
@ApiStatus.Experimental
109-
@Deprecated(since = "INSERT VERSION", forRemoval = true)
109+
@Deprecated(since = "2.12", forRemoval = true)
110110
public static <E extends Condition> SyntaxInfo<E> register(SyntaxRegistry registry, Class<E> condition, PropertyType propertyType, String property, String type) {
111111
if (type.contains("%"))
112112
throw new SkriptAPIException("The type argument must not contain any '%'s");

src/main/java/ch/njol/skript/expressions/base/EventValueExpression.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public class EventValueExpression<T> extends SimpleExpression<T> implements Defa
8080
* and then register it using {@code registry} ({@link SyntaxRegistry#register(SyntaxRegistry.Key, SyntaxInfo)}).
8181
*/
8282
@ApiStatus.Experimental
83-
@Deprecated(since = "INSERT VERSION", forRemoval = true)
83+
@Deprecated(since = "2.12", forRemoval = true)
8484
public static <E extends EventValueExpression<T>, T> SyntaxInfo.Expression<E, T> register(SyntaxRegistry registry, Class<E> expressionClass, Class<T> returnType, String pattern) {
8585
return register(registry, expressionClass, returnType, new String[]{pattern});
8686
}
@@ -101,7 +101,7 @@ public static <E extends EventValueExpression<T>, T> SyntaxInfo.Expression<E, T>
101101
* and then register it using {@code registry} ({@link SyntaxRegistry#register(SyntaxRegistry.Key, SyntaxInfo)}).
102102
*/
103103
@ApiStatus.Experimental
104-
@Deprecated(since = "INSERT VERSION", forRemoval = true)
104+
@Deprecated(since = "2.12", forRemoval = true)
105105
public static <E extends EventValueExpression<T>, T> DefaultSyntaxInfos.Expression<E, T> register(
106106
SyntaxRegistry registry,
107107
Class<E> expressionClass,

src/main/java/ch/njol/skript/expressions/base/PropertyExpression.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public static String[] getDefaultPatterns(String property, String fromType) {
9595
* and then register it using {@code registry} ({@link SyntaxRegistry#register(SyntaxRegistry.Key, SyntaxInfo)}).
9696
*/
9797
@ApiStatus.Experimental
98-
@Deprecated(since = "INSERT VERSION", forRemoval = true)
98+
@Deprecated(since = "2.12", forRemoval = true)
9999
public static <E extends Expression<T>, T> SyntaxInfo.Expression<E, T> register(SyntaxRegistry registry, Class<E> expressionClass, Class<T> returnType, String property, String fromType) {
100100
SyntaxInfo.Expression<E, T> info = infoBuilder(expressionClass, returnType, property, fromType, false).build();
101101
registry.register(SyntaxRegistry.EXPRESSION, info);
@@ -118,7 +118,7 @@ public static <E extends Expression<T>, T> SyntaxInfo.Expression<E, T> register(
118118
* and then register it using {@code registry} ({@link SyntaxRegistry#register(SyntaxRegistry.Key, SyntaxInfo)}).
119119
*/
120120
@ApiStatus.Experimental
121-
@Deprecated(since = "INSERT VERSION", forRemoval = true)
121+
@Deprecated(since = "2.12", forRemoval = true)
122122
public static <E extends Expression<T>, T> SyntaxInfo.Expression<E, T> registerDefault(SyntaxRegistry registry, Class<E> expressionClass, Class<T> returnType, String property, String fromType) {
123123
SyntaxInfo.Expression<E, T> info = infoBuilder(expressionClass, returnType, property, fromType, true).build();
124124
registry.register(SyntaxRegistry.EXPRESSION, info);

0 commit comments

Comments
 (0)