Skip to content

Commit eeee659

Browse files
committed
Home literal now inline.
Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent 35bccca commit eeee659

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/kotlin/com/mairwunnx/projectessentials/home/commands/CommandLiterals.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import net.minecraft.command.CommandSource
1111
import net.minecraft.command.Commands
1212
import net.minecraft.command.ISuggestionProvider
1313

14-
val homeLiteral: LiteralArgumentBuilder<CommandSource> =
15-
literal<CommandSource>("home").then(
14+
inline val homeLiteral: LiteralArgumentBuilder<CommandSource>
15+
get() = literal<CommandSource>("home").then(
1616
Commands.argument(
1717
"home", StringArgumentType.string()
1818
).suggests { ctx, builder ->

0 commit comments

Comments
 (0)