We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35bccca commit eeee659Copy full SHA for eeee659
src/main/kotlin/com/mairwunnx/projectessentials/home/commands/CommandLiterals.kt
@@ -11,8 +11,8 @@ import net.minecraft.command.CommandSource
11
import net.minecraft.command.Commands
12
import net.minecraft.command.ISuggestionProvider
13
14
-val homeLiteral: LiteralArgumentBuilder<CommandSource> =
15
- literal<CommandSource>("home").then(
+inline val homeLiteral: LiteralArgumentBuilder<CommandSource>
+ get() = literal<CommandSource>("home").then(
16
Commands.argument(
17
"home", StringArgumentType.string()
18
).suggests { ctx, builder ->
0 commit comments