Closed papillo12 closed 1 year ago
Does the error occur with only my mods present? I can't find any command related bug from my side.
hello, yes, you could use commands from the server panel, but inside the game it was no longer possible
That's very Strange, when i test this with Fabric, Xp Obelisk and Xp Obelisk Additions, there's no problem with in game Commands.
Can you tell me more about your server setup?! can't reproduce the bug on my system.
same for me
when i try type a command get a strange bug than tells a problem with fabric
same for me
when i try type a command get a strange bug than tells a problem with fabric
that's exactly the error I had
I didn't use the ClientCommandManager on my mod see: https://docproject.github.io/fabricmc_fabric/net/fabricmc/fabric/api/client/command/v1/ClientCommandManager.html
I have no idea what happens... and can't reproduce the bug. I think its some other mod that causes this error.
mod xps_additions is throwing an exception in its listener registered to ClientPlayConnectionEvents.JOIN
, which causes ClientPlayNetworkHandler.onGameJoin()
to exit early which causes ClientCommandInternals.activeDispatcher
to not be set. Then, running a command from the client will throw a null pointer exception as activeDispatcher
is not set.
Attached is .mixin.out
and the relevant log.
mixin.out.zip
latest.log
That's good to know. But i have no idea how to fix that at the moment :/ cant reproduce this bug on my IDE.
something here goes wrong:
ClientPlayConnectionEvents.JOIN.register((packetListener, packetSender, mc) -> {
if (StaffOfRebark.STRIPPED_BLOCKS == null) {
System.out.println("Null on Client");
StaffOfRebark.STRIPPED_BLOCKS = AxeItemAccessor.getStrip().entrySet().stream()
.map((e) -> new AbstractMap.SimpleImmutableEntry<>(e.getKey(), e.getValue()))
.collect(Collectors.toMap(Map.Entry::getValue, Map.Entry::getKey));
}
});
Fixed wit the last commit, Mod version 0.1.8
hello, sorry for not having a crash report or a log is that it was long ago that I solved the problem, but when you enter a server and try to use commands from the game does not let you use them, it was until I did a discard mods that I found the problem was your mod