Skip to content

Commit

Permalink
2.6.1 version change (#4501)
Browse files Browse the repository at this point in the history
  • Loading branch information
TPGamesNL authored Jan 26, 2022
1 parent e43c37e commit 9cc0164
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
groupid=ch.njol
name=skript
version=2.6
version=2.6.1
jarName=Skript.jar
testEnv=paper-1.16.5
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ public boolean mustSyncDeserialization() {
" wait a minecraft second and 5 ticks",
"every 10 mc days and 12 hours:",
" halt for 12.7 irl minutes, 12 hours and 120.5 seconds")
.since("1.0, INSERT VERSION (weeks, months, years)")
.since("1.0, 2.6.1 (weeks, months, years)")
.parser(new Parser<Timespan>() {
@Override
@Nullable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"player is in lava:",
"player is in bubble column"})
@RequiredPlugins("Minecraft 1.16+ (in water), Paper 1.16+ (in rain, lava and bubble column)")
@Since("INSERT VERSION")
@Since("2.6.1")
public class CondEntityIsInLiquid extends PropertyCondition<Entity> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
@Description("Checks whether an entity is wet or not (in water, rain or a bubble column).")
@Examples("if player is wet:")
@RequiredPlugins("Paper 1.16+")
@Since("INSERT VERSION")
@Since("2.6.1")
public class CondEntityIsWet extends PropertyCondition<Entity> {

static {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/conditions/CondHasPotion.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"",
"if all players have potion effects speed and haste:",
"\tbroadcast \"You are ready to MINE!\""})
@Since("INSERT VERSION")
@Since("2.6.1")
public class CondHasPotion extends Condition {

static {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/effects/EffBroadcast.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"broadcast \"Welcome %player% to the server!\"",
"broadcast \"Woah! It's a message!\""
})
@Since("1.0, 2.6 (broadcasting objects), INSERT VERSION (using advanced formatting)")
@Since("1.0, 2.6 (broadcasting objects), 2.6.1 (using advanced formatting)")
public class EffBroadcast extends Effect {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"\tif attack cooldown of attacker < 1:",
"\t\tset damage to 0",
"\t\tsend \"Your hit was too weak! wait until your weapon is fully charged next time.\" to attacker"})
@Since("INSERT VERSION")
@Since("2.6.1")
@RequiredPlugins("Minecraft 1.15+")
public class ExprAttackCooldown extends SimplePropertyExpression<HumanEntity, Float> {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/expressions/ExprAttacked.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
@Examples({"on damage:",
"\tvictim is a creeper",
"\tdamage the attacked by 1 heart"})
@Since("1.3, INSERT VERSION (projectile hit event)")
@Since("1.3, 2.6.1 (projectile hit event)")
@Events({"damage", "death", "projectile hit"})
public class ExprAttacked extends SimpleExpression<Entity> {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/expressions/ExprBiome.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
" loop all players:",
" biome at loop-player is desert",
" damage the loop-player by 1"})
@Since("1.4.4, INSERT VERSION (3D biomes)")
@Since("1.4.4, 2.6.1 (3D biomes)")
public class ExprBiome extends PropertyExpression<Location, Biome> {
static {
Skript.registerExpression(ExprBiome.class, Biome.class, ExpressionType.PROPERTY, "[the] biome (of|%direction%) %locations%", "%locations%'[s] biome");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
@Examples({"on damage of player:",
" send \"You are wounded!\"",
" set victim's attack speed attribute to 2"})
@Since("2.5, INSERT VERSION (final attribute value)")
@Since("2.5, 2.6.1 (final attribute value)")
public class ExprEntityAttribute extends PropertyExpression<Entity, Number> {

static {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/expressions/ExprHostname.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"on connect:",
"\thostname is \"testers.example.com\"",
"\tsend \"Welcome back tester!\""})
@Since("INSERT VERSION")
@Since("2.6.1")
public class ExprHostname extends SimpleExpression<String> {

static {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/expressions/ExprIndices.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"set {_descending-indices::*} to sorted indices of {_leader-board::*} in descending order",
"broadcast \"%{_descending-indices::*}%\" #result is fourth, third, second, first"
})
@Since("2.4 (indices), INSERT VERSION (sorting)")
@Since("2.4 (indices), 2.6.1 (sorting)")
public class ExprIndices extends SimpleExpression<String> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"\ttrigger:",
"\t\tteleport player to the center of player's location",
"\t\tsend \"You're no longer stuck.\""})
@Since("INSERT VERSION")
@Since("2.6.1")
public class ExprMiddleOfLocation extends SimplePropertyExpression<Location, Location> {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
@Description("Returns the world from a string.")
@Examples({"world named {game::world-name}",
"the world \"world\""})
@Since("INSERT VERSION")
@Since("2.6.1")
public class ExprWorldFromName extends SimpleExpression<World> {

static {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/njol/skript/sections/EffSecSpawn.java
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"spawn a ghast 5 meters above the player",
"spawn a zombie at the player:",
"\tset name of the zombie to \"\""})
@Since("1.0, INSERT VERSION (with section)")
@Since("1.0, 2.6.1 (with section)")
public class EffSecSpawn extends EffectSection {

public static class SpawnEvent extends Event {
Expand Down

0 comments on commit 9cc0164

Please sign in to comment.