Skip to content

Commit 7f1d0d2

Browse files
authored
Prepare for release of 2.5.2 (SkriptLang#3581)
1 parent cfd10ec commit 7f1d0d2

16 files changed

+16
-16
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
groupid=ch.njol
22
name=skript
3-
version=2.5.1
3+
version=2.5.2

src/main/java/ch/njol/skript/classes/data/BukkitClasses.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1155,7 +1155,7 @@ public String getVariableNamePattern() {
11551155
.name("Potion Effect")
11561156
.description("A potion effect, including the potion effect type, tier and duration.")
11571157
.usage("speed of tier 1 for 10 seconds")
1158-
.since("INSERT VERSION")
1158+
.since("2.5.2")
11591159
.parser(new Parser<PotionEffect>() {
11601160

11611161
@Override

src/main/java/ch/njol/skript/conditions/CondIsInteractable.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"\tif event-block is interactable:",
3737
"\t\tcancel event",
3838
"\t\tsend \"You cannot break interactable blocks!\""})
39-
@Since("INSERT VERSION")
39+
@Since("2.5.2")
4040
@RequiredPlugins("Minecraft 1.13+")
4141
public class CondIsInteractable extends PropertyCondition<ItemType> {
4242

src/main/java/ch/njol/skript/conditions/CondIsWhitelisted.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
@Name("Is Whitelisted")
3737
@Description("Whether or not the server or a player is whitelisted.")
3838
@Examples({"if server is whitelisted:", "if player is whitelisted"})
39-
@Since("INSERT VERSION")
39+
@Since("2.5.2")
4040
public class CondIsWhitelisted extends Condition {
4141

4242
static {

src/main/java/ch/njol/skript/conditions/CondMatches.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"\t\tsend \"Message contains a digit!\"",
4444
"\tif message doesn't match \"[A-Za-z]+\":",
4545
"\t\tsend \"Message doesn't only contain letters!\""})
46-
@Since("INSERT VERSION")
46+
@Since("2.5.2")
4747
public class CondMatches extends Condition {
4848

4949
static {

src/main/java/ch/njol/skript/effects/EffMessage.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"\tcancel event",
5959
"\tsend \"[%player%] >> %message%\" to all players from player"})
6060
@RequiredPlugins("Minecraft 1.16.4+ for optional sender")
61-
@Since("1.0, 2.2-dev26 (advanced features), INSERT VERSION (optional sender)")
61+
@Since("1.0, 2.2-dev26 (advanced features), 2.5.2 (optional sender)")
6262
public class EffMessage extends Effect {
6363

6464
private static final boolean SUPPORTS_SENDER = Skript.classExists("org.bukkit.command.CommandSender$Spigot") &&

src/main/java/ch/njol/skript/effects/EffPotion.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"on join:",
4747
"\tapply potion of strength of tier {strength.%player%} to the player for 999 days",
4848
"apply potion effects of player's tool to player"})
49-
@Since("2.0, 2.2-dev27 (ambient and particle-less potion effects), 2.5 (replacing existing effect), INSERT VERSION (potion effects)")
49+
@Since("2.0, 2.2-dev27 (ambient and particle-less potion effects), 2.5 (replacing existing effect), 2.5.2 (potion effects)")
5050
public class EffPotion extends Effect {
5151
static {
5252
Skript.registerEffect(EffPotion.class,

src/main/java/ch/njol/skript/events/EvtEntityBlockChange.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public class EvtEntityBlockChange extends SkriptEvent {
5252
"on falling block land:",
5353
"\tif event-entity is a falling dirt:",
5454
"\t\tcancel event")
55-
.since("<i>unknown</i>, INSERT VERSION (falling block)");
55+
.since("<i>unknown</i>, 2.5.2 (falling block)");
5656
}
5757

5858
static final ItemType monsterEgg = Aliases.javaItemType("any spawn egg");

src/main/java/ch/njol/skript/expressions/ExprBlockData.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"set block at player to {data}",
4040
"set block data of target block to oak_stairs[facing=south;waterlogged=true]"})
4141
@RequiredPlugins("Minecraft 1.13+")
42-
@Since("2.5, INSERT VERSION (set)")
42+
@Since("2.5, 2.5.2 (set)")
4343
public class ExprBlockData extends SimplePropertyExpression<Block, BlockData> {
4444

4545
static {

src/main/java/ch/njol/skript/expressions/ExprItemFrameSlot.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
+ "For item frames, the item inside the frame is returned. For throwable projectiles (snowballs, enderpearls etc.),"
4242
+ "it gets the displayed item. Other entities do not have items associated with them.")
4343
@Examples("")
44-
@Since("2.2-dev35, 2.2-dev36 (improved), INSERT VERSION (throwable projectiles)")
44+
@Since("2.2-dev35, 2.2-dev36 (improved), 2.5.2 (throwable projectiles)")
4545
@RequiredPlugins("Minecraft 1.15.2+ (throwable projectiles)")
4646
public class ExprItemFrameSlot extends SimplePropertyExpression<Entity, Slot> {
4747

src/main/java/ch/njol/skript/expressions/ExprJoinSplit.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
@Description("Joins several texts with a common delimiter (e.g. \", \"), or splits a text into multiple texts at a given delimiter.")
4343
@Examples({"message \"Online players: %join all players with \"\" | \"\"%\" # %all players% would use the default \"x, y, and z\"",
4444
"set {_s::*} to the string argument split at \",\""})
45-
@Since("2.1, INSERT VERSION (regex support)")
45+
@Since("2.1, 2.5.2 (regex support)")
4646
public class ExprJoinSplit extends SimpleExpression<String> {
4747

4848
static {

src/main/java/ch/njol/skript/expressions/ExprPotionEffect.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"add {_p} to potion effects of player's tool",
4343
"add {_p} to potion effects of target entity",
4444
"add potion effect of speed 1 to potion effects of player"})
45-
@Since("INSERT VERSION")
45+
@Since("2.5.2")
4646
public class ExprPotionEffect extends SimpleExpression<PotionEffect> {
4747
static {
4848
Skript.registerExpression(ExprPotionEffect.class, PotionEffect.class, ExpressionType.COMBINED,

src/main/java/ch/njol/skript/expressions/ExprPotionEffects.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"add potion effects of player to potion effects of player's tool",
5353
"add speed to potion effects of target entity",
5454
"remove speed and night vision from potion effects of player"})
55-
@Since("INSERT VERSION")
55+
@Since("2.5.2")
5656
public class ExprPotionEffects extends SimpleExpression<PotionEffect> {
5757

5858
static {

src/main/java/ch/njol/skript/expressions/ExprSubstring.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"message \"%subtext of {_s} from characters 2 to (the length of {_s} - 1)%\" # removes the first and last character from {_s} and sends it to the player or console",
4747
"set {_characters::*} to characters at 1, 2 and 7 in player's display name",
4848
"send the last character of all players' names"})
49-
@Since("2.1, INSERT VERSION (character at, multiple strings support)")
49+
@Since("2.1, 2.5.2 (character at, multiple strings support)")
5050
public class ExprSubstring extends SimpleExpression<String> {
5151
static {
5252
Skript.registerExpression(ExprSubstring.class, String.class, ExpressionType.COMBINED,

src/main/java/ch/njol/skript/expressions/ExprTypeOf.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"Types of potion effects are potion effect types."})
4343
@Examples({"on rightclick on an entity:",
4444
" message \"This is a %type of clicked entity%!\""})
45-
@Since("1.4, INSERT VERSION (potion effect)")
45+
@Since("1.4, 2.5.2 (potion effect)")
4646
public class ExprTypeOf extends SimplePropertyExpression<Object, Object> {
4747
static {
4848
register(ExprTypeOf.class, Object.class, "type", "entitydatas/itemtypes/inventories/potioneffects");

src/main/java/ch/njol/skript/expressions/ExprWhitelist.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
@Examples({"set whitelist to false",
4646
"add all players to whitelist",
4747
"reset the whitelist"})
48-
@Since("INSERT VERSION")
48+
@Since("2.5.2")
4949
public class ExprWhitelist extends SimpleExpression<OfflinePlayer> {
5050

5151
static {

0 commit comments

Comments
 (0)