Forge crashes with self-written mod at TabComplete?

st
- in Mods
3

I added a command to my mod yesterday.

Now I have the problem that as soon as I want to tab an in-game command, my Minecraft off. I do not know why.

Crashlog:

Time: 3/20/20 1:10 AM

Description: Updating screen events

java.lang.NullPointerException: Updating screen events at net.minecraft.command.CommandBase.func_71523_a (CommandBase.java:839) at net.minecraft.command.CommandHandler.func_180524_a (CommandHandler.java:183) at net.minecraftforge ClientCommandHandler.autoComplete (ClientCommandHandler.java:139) at net.minecraft.util.TabCompleter.func_186838_a (TabCompleter.java:65) at net.minecraft.util.TabCompleter.func_186841_a (TabCompleter.minecraft.47clat .gui.GuiChat $ ChatTabCompleter.func_186841_a (SourceFile: 190) at net.minecraft.client.gui.GuiChat.func_73869_a (SourceFile: 70) at net.minecraft.client.gui.GuiScreen.func_146282_l (GuiScreen.java:55 net.minecraft.client.gui.GuiScreen.func_146269_k (GuiScreen.java:512) at net.minecraft.client.Minecraft.func_71407_l (Minecraft.java:1759) at net.minecraft.client.Minecraft.func_71411_J (Minecraft.java: 1098) at net.minecraft.client.Minecraft.func_99999_d (Minecraft.java:398) at net.minecraft.client.main.Main.main (SourceFile: 123) at sun.re flect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.javaMlangin.fleet.java:43) at Method.java:497) at net.minecraft.launchwrapper.Launch.launch (Launch.java:135) at net.minecraft.launchwrapper.Launch.main (Launch.java:28)

fu

I would ask Forge m support or you can assign more ram to Minecraft.

How to add more ram:

Minecraft Launcher → Versions → Select your Forge version and press Edit → Then press more or expanded → Below is a small text and there's 2 times ram in it. I recommend you to specify half of your computer ram for the first ram instead of 2GB (as is standard) and not to do anything for the second ram.

st

Jo, has cleared up. Had an error in a command

fu

OK