Skip to content

Commit 04c6b4e

Browse files
Fixing small bug
1 parent 847fe0f commit 04c6b4e

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/de/randombyte/commandutils

1 file changed

+1
-1
lines changed

src/main/kotlin/de/randombyte/commandutils/utils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ private const val EXECUTE_AS_CONSOLE_PREFIX = "*"
1515
fun executeCommand(
1616
command: String,
1717
commandSource: CommandSource,
18-
target: Any = commandSource,
1918
replacements: Map<String, String> = emptyMap(),
2019
doPlaceholderProcessing: Boolean = true,
20+
target: Any = commandSource,
2121
commandResultCallback: (CommandResult) -> Unit = { }) {
2222

2323
val unprefixedCommand = command.removePrefix(EXECUTE_AS_CONSOLE_PREFIX)

0 commit comments

Comments
 (0)