Skip to content

Commit 8fd0b32

Browse files
sovdeethEfnilite
andauthored
Apply suggestions from code review
Co-authored-by: Efnilite <35348263+Efnilite@users.noreply.github.com>
1 parent 800c2ac commit 8fd0b32

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
@Description("Check if an item has a custom model data tag")
1717
@Example("player's tool has custom model data")
1818
@Since("2.5, INSERT VERSION (expanded data types)")
19-
@RequiredPlugins("1.21.4+ (floats/flags/strings/colours)")
19+
@RequiredPlugins("Minecraft 1.21.4+ (floats/flags/strings/colours)")
2020
public class CondHasCustomModelData extends PropertyCondition<ItemType> {
2121

2222
static {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
@Example("""
4040
set the full custom model data of {_item} to 10, "sword", and rgb(100, 200, 30)
4141
""")
42-
@RequiredPlugins("1.21.4+ (floats/flags/strings/colours/full model data)")
42+
@RequiredPlugins("Minecraft 1.21.4+ (floats/flags/strings/colours/full model data)")
4343
@Since({"2.5", "INSERT VERSION (floats/flags/strings/colours/full model data)"})
4444
public class ExprCustomModelData extends PropertyExpression<ItemType, Object> {
4545

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
@Example("give player a diamond sword with custom model data 2")
2222
@Example("set slot 1 of inventory of player to wooden hoe with custom model data 357")
2323
@Example("give player a diamond hoe with custom model data 2, true, true, \"scythe\", and rgb(0,0,100)")
24-
@RequiredPlugins("1.21.4+ (boolean/string/color support)")
24+
@RequiredPlugins("Minecraft 1.21.4+ (boolean/string/color support)")
2525
@Since({"2.5", "INSERT VERSION (boolean/string/color support)"})
2626
public class ExprItemWithCustomModelData extends PropertyExpression<ItemType, ItemType> {
2727

0 commit comments

Comments
 (0)