Skip to content

Commit

Permalink
Fixing small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
randombyte-developer committed May 26, 2018
1 parent 847fe0f commit 04c6b4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/de/randombyte/commandutils/utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ private const val EXECUTE_AS_CONSOLE_PREFIX = "*"
fun executeCommand(
command: String,
commandSource: CommandSource,
target: Any = commandSource,
replacements: Map<String, String> = emptyMap(),
doPlaceholderProcessing: Boolean = true,
target: Any = commandSource,
commandResultCallback: (CommandResult) -> Unit = { }) {

val unprefixedCommand = command.removePrefix(EXECUTE_AS_CONSOLE_PREFIX)
Expand Down

0 comments on commit 04c6b4e

Please sign in to comment.