Skip to content

Commit 16297f1

Browse files
Fix parameter name: y due to reserved keyword in YAML
1 parent 8d21327 commit 16297f1

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

elements/Vector/Vector2.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ oop_only_methods:
1010
- name: vectorOrX
1111
type: float | table | vector2
1212
description: Vector2, table, or float indicating vector's coordinates
13-
- name: y
13+
- name: "y"
1414
type: float
1515
optional: true
1616
description: If vectorOrX is a float, this is the Y coordinate
@@ -57,7 +57,7 @@ oop_only_methods:
5757
- name: vector
5858
type: vector2
5959
description: Vector2 to set Y coordinate on
60-
- name: y
60+
- name: "y"
6161
type: float
6262
description: New Y coordinate
6363

elements/Vector/Vector3.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ oop_only_methods:
1111
- name: vectorOrX
1212
type: float | table | vector3
1313
description: Vector3, table, or floats indicating vector's coordinates
14-
- name: y
14+
- name: "y"
1515
type: float
1616
optional: true
1717
description: If vectorOrX is a float, this is the Y coordinate
@@ -76,7 +76,7 @@ oop_only_methods:
7676
description: Sets the Y component of the vector.
7777
signature: void Vector3:setY ( float y )
7878
parameters:
79-
- name: y
79+
- name: "y"
8080
type: float
8181
description: The new Y value.
8282

elements/Vector/Vector4.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ oop_only_methods:
1111
- name: vectorOrX
1212
type: float | table | vector4
1313
description: Vector4, table, or floats indicating vector's coordinates
14-
- name: y
14+
- name: "y"
1515
type: float
1616
optional: true
1717
description: If vectorOrX is a float, this is the Y coordinate

events/Other/onClientExplosion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ parameters:
1111
- name: x
1212
type: float
1313
description: X coordinate of where the explosion was created
14-
- name: y
14+
- name: "y"
1515
type: float
1616
description: Y coordinate of where the explosion was created
1717
- name: z

events/Other/onClientWorldSound.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ parameters:
1515
- name: x
1616
type: float
1717
description: a floating point number representing the X coordinate on the map.
18-
- name: y
18+
- name: "y"
1919
type: float
2020
description: a floating point number representing the Y coordinate on the map.
2121
- name: z

events/Player/onPlayerProjectileCreation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ parameters:
1414
- name: x
1515
type: float
1616
description: X coordinate of where the projectile was created
17-
- name: y
17+
- name: "y"
1818
type: float
1919
description: Y coordinate of where the projectile was created
2020
- name: z

events/Server/onExplosion.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ parameters:
1313
- name: x
1414
type: float
1515
description: X coordinate of where the explosion was created
16-
- name: y
16+
- name: "y"
1717
type: float
1818
description: Y coordinate of where the explosion was created
1919
- name: z

functions/Fire/createFire.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ client:
55
- name: x
66
type: float
77
description: The X coordinate when the initial patch of fire will be created.
8-
- name: y
8+
- name: "y"
99
type: float
1010
description: The Y coordinate when the initial patch of fire will be created.
1111
- name: z

functions/Fire/extinguishFire.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ client:
66
type: float
77
description: The X coordinate at which any fire will be extinguished.
88
default: 'nil'
9-
- name: y
9+
- name: "y"
1010
type: float
1111
description: The Y coordinate at which any fire will be extinguished.
1212
default: 'nil'

0 commit comments

Comments
 (0)