Skip to content

Commit e1459a2

Browse files
committed
Fixed some documentations
1 parent eddf39f commit e1459a2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/me/despical/commandframework/CommandArguments.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public Double getArgumentAsDouble(int i) {
115115

116116
/**
117117
* @param i index
118-
* @return Double if indexed element is primitive type of double
118+
* @return Float if indexed element is primitive type of float
119119
* or 0 if element is null.
120120
*/
121121
@NotNull
@@ -125,7 +125,7 @@ public Float getArgumentAsFloat(int i) {
125125

126126
/**
127127
* @param i index
128-
* @return Long if indexed element is primitive type of double
128+
* @return Long if indexed element is primitive type of long
129129
* or 0 if element is null.
130130
*/
131131
@NotNull
@@ -135,7 +135,7 @@ public Long getArgumentAsLong(int i) {
135135

136136
/**
137137
* @param i index
138-
* @return Long if indexed element is primitive type of double
138+
* @return Boolean if indexed element is primitive type of boolean
139139
* or 0 if element is null.
140140
*/
141141
@NotNull

0 commit comments

Comments
 (0)