Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config change doesn't work? #3

Open
quat1024 opened this issue Feb 11, 2024 · 2 comments
Open

Config change doesn't work? #3

quat1024 opened this issue Feb 11, 2024 · 2 comments

Comments

@quat1024
Copy link
Collaborator

  1. cover yourself in oil
  2. open q menu and change a config option
  3. press save
java.lang.RuntimeException: Exception while firing event org.violetmoon.zeta.event.load.ZConfigChanged@298fe4f6: 
	at TRANSFORMER/[email protected]/org.violetmoon.zeta.event.bus.ZetaEventBus$Listeners.doFire(ZetaEventBus.java:229)
	at TRANSFORMER/[email protected]/org.violetmoon.zeta.event.bus.ZetaEventBus.fire(ZetaEventBus.java:103)
	at TRANSFORMER/[email protected]/org.violetmoon.zetaimplforge.config.ConfigEventDispatcher.handleConfigChange(ConfigEventDispatcher.java:31)
	at TRANSFORMER/[email protected]/org.violetmoon.zetaimplforge.config.ConfigEventDispatcher.configChanged(ConfigEventDispatcher.java:20)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
	at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.javafmlmod.FMLModContainer.lambda$new$0(FMLModContainer.java:42)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModContainer.lambda$dispatchConfigEvent$13(ModContainer.java:153)
	at java.base/java.util.Optional.ifPresent(Optional.java:178)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModContainer.dispatchConfigEvent(ModContainer.java:153)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ModConfig.fireEvent(ModConfig.java:77)
	at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigWatcher.run(ConfigFileTypeHandler.java:147)
	at MC-BOOTSTRAP/[email protected]/com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread.run(FileWatcher.java:181)
Caused by: java.lang.IllegalArgumentException: Invalid message org.violetmoon.zeta.network.message.C2SUpdateFlag
	at TRANSFORMER/[email protected]/net.minecraftforge.network.simple.IndexedMessageCodec.build(IndexedMessageCodec.java:132)
	at TRANSFORMER/[email protected]/net.minecraftforge.network.simple.SimpleChannel.encodeMessage(SimpleChannel.java:68)
	at TRANSFORMER/[email protected]/net.minecraftforge.network.simple.SimpleChannel.toBuffer(SimpleChannel.java:81)
	at TRANSFORMER/[email protected]/net.minecraftforge.network.simple.SimpleChannel.toVanillaPacket(SimpleChannel.java:112)
	at TRANSFORMER/[email protected]/net.minecraftforge.network.simple.SimpleChannel.sendTo(SimpleChannel.java:92)
	at TRANSFORMER/[email protected]/net.minecraftforge.network.simple.SimpleChannel.sendToServer(SimpleChannel.java:87)
	at TRANSFORMER/[email protected]/org.violetmoon.zetaimplforge.network.ForgeZetaNetworkHandler.sendToServer(ForgeZetaNetworkHandler.java:98)
	at TRANSFORMER/[email protected]/org.violetmoon.zeta.client.ZetaClient.sendToServer(ZetaClient.java:73)
	at TRANSFORMER/[email protected]/org.violetmoon.zeta.client.config.ClientConfigManager.configChanged(ClientConfigManager.java:63)
	at TRANSFORMER/[email protected]/org.violetmoon.zeta.event.bus.ZetaEventBus$Listeners.doFireNonCancellable(ZetaEventBus.java:242)
	at TRANSFORMER/[email protected]/org.violetmoon.zeta.event.bus.ZetaEventBus$Listeners.doFire(ZetaEventBus.java:227)
	... 14 more
@qznfbnj
Copy link
Contributor

qznfbnj commented Jun 1, 2024

Text below be as additional information


See #21

@quat1024
Copy link
Collaborator Author

quat1024 commented Jun 4, 2024

^ That seems like a different problem btw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants