File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/java/me/despical/commandframework Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ public Double getArgumentAsDouble(int i) {
115
115
116
116
/**
117
117
* @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
119
119
* or 0 if element is null.
120
120
*/
121
121
@ NotNull
@@ -125,7 +125,7 @@ public Float getArgumentAsFloat(int i) {
125
125
126
126
/**
127
127
* @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
129
129
* or 0 if element is null.
130
130
*/
131
131
@ NotNull
@@ -135,7 +135,7 @@ public Long getArgumentAsLong(int i) {
135
135
136
136
/**
137
137
* @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
139
139
* or 0 if element is null.
140
140
*/
141
141
@ NotNull
You can’t perform that action at this time.
0 commit comments