Skip to content

Commit db94bb9

Browse files
authored
Merge pull request #40 from CyR1en/development
Sync to main
2 parents 56dacc2 + bf64417 commit db94bb9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ java {
3939

4040
PluginManifest pluginManifest = [
4141
name : 'CommandPrompter',
42-
version : new Version(major: 2, minor: 8, patch: 1, fix: 0, classifier: 'SNAPSHOT'),
42+
version : new Version(major: 2, minor: 8, patch: 2, fix: 0, classifier: 'SNAPSHOT'),
4343
author : 'CyR1en',
4444
description: 'Perfect companion plugin for inventory UI menu.',
4545
entry : 'com.cyr1en.commandprompter.CommandPrompter'

src/main/java/com/cyr1en/commandprompter/prompt/PromptQueue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public String getCompleteCommand() {
7373
for (String prompt : prompts) {
7474
if (completedClone.isEmpty())
7575
break;
76-
command = command.replaceFirst(prompt, completedClone.pollFirst());
76+
command = command.replace(prompt, completedClone.pollFirst());
7777
}
7878
return "/" + command;
7979
}

0 commit comments

Comments
 (0)