I've got forge for 1.18.2 installed. When I put any mods on it, I can't put any texture packs because the game crashes. This is the crash message:
The game crashed whilst mouseclicked event handler
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.server.packs.resources.PreparableReloadListener.m_5540_(net.minecraft.server.packs.resources.PreparableReloadListener$PreparationBarrier, net.minecraft.server.packs.resources.ResourceManager, net.minecraft.util.profiling.ProfilerFiller, net.minecraft.util.profiling.ProfilerFiller, java.util.concurrent.Executor, java.util.concurrent.Executor)" because "p_10831_" is null
Código de error: -1