Skip to content

Commit b063aa1

Browse files
Add ArgumentReader.Mutable#skipChar() (#2596)
1 parent 343d908 commit b063aa1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/java/org/spongepowered/api/command/parameter/ArgumentReader.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,11 @@ interface Immutable extends ArgumentReader {
139139
*/
140140
interface Mutable extends ArgumentReader {
141141

142+
/**
143+
* Moves the cursor to the next character.
144+
*/
145+
void skipChar();
146+
142147
/**
143148
* Moves the cursor to the next non-whitespace character. The cursor
144149
* will not advance if it already refers to a non-whitespace character.

0 commit comments

Comments
 (0)