Setting commandType to "CLIENT" results in /say test being printed into the chat instead of it being executed.
Crash Report
```
---- Minecraft Crash Report ----
// My bad.
Time: 2024-08-11 00:10:01
Description: Unexpected error
java.lang.NullPointerException: Unexpected error
at java.base/java.util.Objects.requireNonNull(Objects.java:233)
at me.flashyreese.mods.commandaliases.command.builder.custom.ClientCustomCommandBuilder.dispatcherExecute(ClientCustomCommandBuilder.java:38)
at me.flashyreese.mods.commandaliases.command.builder.custom.AbstractCustomCommandBuilder.lambda$scheduleAction$6(AbstractCustomCommandBuilder.java:320)
at me.flashyreese.mods.commandaliases.command.Scheduler.processEvents(Scheduler.java:26)
at me.flashyreese.mods.commandaliases.command.loader.CommandAliasesLoader.lambda$registerClientSidedCommandAliases$5(CommandAliasesLoader.java:123)
at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.lambda$static$2(ClientTickEvents.java:43)
at net.minecraft.class_310.handler$zfj000$fabric-lifecycle-events-v1$onEndTick(class_310.java:4183)
at net.minecraft.class_310.method_1574(class_310.java:2012)
at net.minecraft.class_310.method_1523(class_310.java:1246)
at net.minecraft.class_310.method_1514(class_310.java:882)
at net.minecraft.client.main.Main.main(Main.java:256)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100)
at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129)
at org.prismlauncher.EntryPoint.main(EntryPoint.java:70)
```
Minecraft 1.21 Command Aliases version: 1.0.1 Only Command Aliases and Fabric API installed.
Placing this inside the client folder for command aliases and then executing
/test
will crash the game.Setting commandType to "CLIENT" results in
/say test
being printed into the chat instead of it being executed.Crash Report
``` ---- Minecraft Crash Report ---- // My bad. Time: 2024-08-11 00:10:01 Description: Unexpected error java.lang.NullPointerException: Unexpected error at java.base/java.util.Objects.requireNonNull(Objects.java:233) at me.flashyreese.mods.commandaliases.command.builder.custom.ClientCustomCommandBuilder.dispatcherExecute(ClientCustomCommandBuilder.java:38) at me.flashyreese.mods.commandaliases.command.builder.custom.AbstractCustomCommandBuilder.lambda$scheduleAction$6(AbstractCustomCommandBuilder.java:320) at me.flashyreese.mods.commandaliases.command.Scheduler.processEvents(Scheduler.java:26) at me.flashyreese.mods.commandaliases.command.loader.CommandAliasesLoader.lambda$registerClientSidedCommandAliases$5(CommandAliasesLoader.java:123) at net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents.lambda$static$2(ClientTickEvents.java:43) at net.minecraft.class_310.handler$zfj000$fabric-lifecycle-events-v1$onEndTick(class_310.java:4183) at net.minecraft.class_310.method_1574(class_310.java:2012) at net.minecraft.class_310.method_1523(class_310.java:1246) at net.minecraft.class_310.method_1514(class_310.java:882) at net.minecraft.client.main.Main.main(Main.java:256) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:100) at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) ```