Skip to content

Commit 7c68cb1

Browse files
committed
warpLiteral now is inline.
Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent 4e48987 commit 7c68cb1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/kotlin/com/mairwunnx/projectessentials/warps/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 warpLiteral: LiteralArgumentBuilder<CommandSource> =
15-
LiteralArgumentBuilder.literal<CommandSource>("warp").then(
14+
inline val warpLiteral: LiteralArgumentBuilder<CommandSource>
15+
get() = LiteralArgumentBuilder.literal<CommandSource>("warp").then(
1616
Commands.argument(
1717
"warp", StringArgumentType.string()
1818
).suggests { _, builder ->

0 commit comments

Comments
 (0)