Skip to content

Commit 07e6cce

Browse files
authored
Merge pull request #77 from Shynixn/development
Merge changes to Master --release
2 parents 9269053 + 49845aa commit 07e6cce

File tree

7 files changed

+18
-18
lines changed

7 files changed

+18
-18
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ tasks.register("printVersion") {
4343

4444
subprojects {
4545
group 'com.github.shynixn.mccoroutine'
46-
version '2.4.0'
46+
version '2.5.0'
4747

4848
sourceCompatibility = 1.8
4949

docs/wiki/docs/installation.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,35 +8,35 @@ In order to use the MCCoroutine Kotlin API, you need to include the following li
88

99
```groovy
1010
dependencies {
11-
implementation("com.github.shynixn.mccoroutine:mccoroutine-bukkit-api:2.4.0")
12-
implementation("com.github.shynixn.mccoroutine:mccoroutine-bukkit-core:2.4.0")
11+
implementation("com.github.shynixn.mccoroutine:mccoroutine-bukkit-api:2.5.0")
12+
implementation("com.github.shynixn.mccoroutine:mccoroutine-bukkit-core:2.5.0")
1313
}
1414
```
1515

1616
=== "BungeeCord"
1717

1818
```groovy
1919
dependencies {
20-
implementation("com.github.shynixn.mccoroutine:mccoroutine-bungeecord-api:2.4.0")
21-
implementation("com.github.shynixn.mccoroutine:mccoroutine-bungeecord-core:2.4.0")
20+
implementation("com.github.shynixn.mccoroutine:mccoroutine-bungeecord-api:2.5.0")
21+
implementation("com.github.shynixn.mccoroutine:mccoroutine-bungeecord-core:2.5.0")
2222
}
2323
```
2424

2525
=== "Sponge"
2626

2727
```groovy
2828
dependencies {
29-
implementation("com.github.shynixn.mccoroutine:mccoroutine-sponge-api:2.4.0")
30-
implementation("com.github.shynixn.mccoroutine:mccoroutine-sponge-core:2.4.0")
29+
implementation("com.github.shynixn.mccoroutine:mccoroutine-sponge-api:2.5.0")
30+
implementation("com.github.shynixn.mccoroutine:mccoroutine-sponge-core:2.5.0")
3131
}
3232
```
3333

3434
=== "Velocity"
3535

3636
```groovy
3737
dependencies {
38-
implementation("com.github.shynixn.mccoroutine:mccoroutine-velocity-api:2.4.0")
39-
implementation("com.github.shynixn.mccoroutine:mccoroutine-velocity-core:2.4.0")
38+
implementation("com.github.shynixn.mccoroutine:mccoroutine-velocity-api:2.5.0")
39+
implementation("com.github.shynixn.mccoroutine:mccoroutine-velocity-core:2.5.0")
4040
}
4141
```
4242

@@ -60,8 +60,8 @@ dependencies {
6060
**plugin.yml**
6161
```yaml
6262
libraries:
63-
- com.github.shynixn.mccoroutine:mccoroutine-bukkit-api:2.4.0
64-
- com.github.shynixn.mccoroutine:mccoroutine-bukkit-core:2.4.0
63+
- com.github.shynixn.mccoroutine:mccoroutine-bukkit-api:2.5.0
64+
- com.github.shynixn.mccoroutine:mccoroutine-bukkit-core:2.5.0
6565
```
6666

6767
=== "Other Server"

mccoroutine-bukkit-api/src/main/java/com/github/shynixn/mccoroutine/bukkit/SuspendingTabCompleter.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ interface SuspendingTabCompleter {
1313
* @param sender - Source of the command.
1414
* @param command - Command which was executed.
1515
* @param alias - Alias of the command which was used.
16-
* @param args - Passed command arguments.
17-
* @return A list of possible completions for the final argument, or an empty list.
16+
* @param args - The arguments passed to the command, including final partial argument to be completed and command label.
17+
* @return A List of possible completions for the final argument, or null to default to the command executor
1818
*/
1919
suspend fun onTabComplete(
2020
sender: CommandSender,
2121
command: Command,
2222
alias: String,
2323
args: Array<out String>
24-
): List<String>
24+
): List<String>?
2525
}

mccoroutine-bukkit-core/src/main/java/com/github/shynixn/mccoroutine/bukkit/service/CommandServiceImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ internal class CommandServiceImpl(private val plugin: Plugin) {
3636
tabCompleter: SuspendingTabCompleter
3737
) {
3838
pluginCommand.setTabCompleter { sender, command, alias, args ->
39-
var result = emptyList<String>()
39+
var result : List<String>? = null
4040

4141
// Tab Completes in spigot always arrive synchronously. Therefore, we can simply use the default properties.
4242
plugin.launch(context) {

mccoroutine-bukkit-sample/src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: MCCoroutine-Sample
2-
version: 2.4.0
2+
version: 2.5.0
33
author: Shynixn
44
main: com.github.shynixn.mccoroutine.bukkit.sample.MCCoroutineSamplePlugin
55
commands:

mccoroutine-bungeecord-sample/src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: MCCoroutine-Sample
2-
version: 2.4.0
2+
version: 2.5.0
33
author: Shynixn
44
main: com.github.shynixn.mccoroutine.bungeecord.sample.MCCoroutineSamplePlugin
55
commands:

mccoroutine-sponge-sample/src/main/resources/mcmod.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[{
22
"modid": "mccoroutinesample",
33
"name": "MCCoroutineSample",
4-
"version": "2.4.0",
4+
"version": "2.5.0",
55
"description": "MCCoroutineSample is sample plugin to use MCCoroutine in Sponge.",
66
"authorList": [
77
"Shynixn"

0 commit comments

Comments
 (0)