There was an error while loading. Please reload this page.
1 parent 847fe0f commit 04c6b4eCopy full SHA for 04c6b4e
src/main/kotlin/de/randombyte/commandutils/utils.kt
@@ -15,9 +15,9 @@ private const val EXECUTE_AS_CONSOLE_PREFIX = "*"
15
fun executeCommand(
16
command: String,
17
commandSource: CommandSource,
18
- target: Any = commandSource,
19
replacements: Map<String, String> = emptyMap(),
20
doPlaceholderProcessing: Boolean = true,
+ target: Any = commandSource,
21
commandResultCallback: (CommandResult) -> Unit = { }) {
22
23
val unprefixedCommand = command.removePrefix(EXECUTE_AS_CONSOLE_PREFIX)
0 commit comments