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

[Bug] ConcurrentModificationException in CottonHud #164

Open
alex3236 opened this issue Jun 1, 2022 · 0 comments
Open

[Bug] ConcurrentModificationException in CottonHud #164

alex3236 opened this issue Jun 1, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@alex3236
Copy link

alex3236 commented Jun 1, 2022

Describe the bug

java.util.ConcurrentModificationException
	at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1597)
	at java.base/java.util.HashMap$KeyIterator.next(HashMap.java:1620)
	at io.github.cottonmc.cotton.gui.client.CottonHud.lambda$static$0(CottonHud.java:30)
	at net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback.lambda$static$0(HudRenderCallback.java:27)
	at net.minecraft.class_329.handler$zgc000$render(class_329.java:1529)
	at net.minecraft.class_329.method_1753(class_329.java:415)
	at net.minecraft.class_757.method_3192(class_757.java:858)
	at net.minecraft.class_310.method_1523(class_310.java:1122)
	at net.minecraft.class_310.method_1514(class_310.java:737)
	at net.minecraft.client.main.Main.main(Main.java:236)
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:460)
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)

To Reproduce
Steps to reproduce the behavior:
(Maybe) Use CottonHud.remove to remove a HUD before the HudRenderCallback is finished

Expected behavior Optional
A clear and concise description of what you expected to happen.

Screenshots Optional
If applicable, add screenshots to help explain your problem.

Version of the (please complete the following information):

  • LibGui 5.4.0 on 1.18.2

Additional context Optional
Add any other context about the problem here.

@alex3236 alex3236 added the bug Something isn't working label Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant