Skip to content

Commit 423ac73

Browse files
Merge pull request #15 from SLNE-Development/feat/add-load-command
feat: remove notification for disabled command in WorldCommand
2 parents bd6e0d2 + 1d743f6 commit 423ac73

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
kotlin.code.style=official
22
kotlin.stdlib.default.dependency=false
33
org.gradle.parallel=true
4-
version=1.21.10-2.0.3-SNAPSHOT
4+
version=1.21.10-2.0.4-SNAPSHOT

src/main/kotlin/dev/slne/surf/essentials/command/WorldCommand.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,6 @@ fun worldCommand() = commandTree("world") {
158158
anyExecutor { executor, args ->
159159
val name: String by args
160160

161-
executor.sendText {
162-
appendPrefix()
163-
info("Dieser Befehl ist zurzeit deaktiviert.")
164-
}
165-
return@anyExecutor
166-
167161
if (Bukkit.getServer().isFolia()) {
168162
executor.sendText {
169163
appendPrefix()

0 commit comments

Comments
 (0)