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

Blaze Gold 'Greedy' trait magnet effect causes crashes sporadically #762

Open
Foffy123 opened this issue Dec 18, 2024 · 0 comments
Open
Labels
1.21 bug Something isn't working

Comments

@Foffy123
Copy link

Versions

  • Silent Gear: 4.0.9
  • Silent's Gems: N/A
  • Silent Lib: 10.3.0
  • NeoForge: 21.1.90
  • Modpack: ATM10 2.6
  • Optifine Installed: No

Expected Behavior

Not crashing - Issue copied from Discord per @SilentChaos512's request

Actual Behavior

Crashing

java.util.ConcurrentModificationException: null
	at java.base/java.util.HashMap.forEach(HashMap.java:1432) ~[?:?] {re:mixin}
	at TRANSFORMER/[email protected]/net.silentchaos512.gear.core.MagnetPullTracker.onLevelTick(MagnetPullTracker.java:25) ~[silent-gear-1.21.1-neoforge-4.0.9.jar%23897!/:?] {re:classloading}

https://mclo.gs/CQpowHo (i have five logs that are all the same error)

So i've been having a repeated crash (MagnetPullTracker) for the past day or so on ATM10 2.6, i did digging and figured that it seemed to be related to the 'magnetic' trait on silentgear, it was crashing when i messed with other mods that pull items (like mobutils with the vacuum, or simple magnets)

The weird thing is that the mod author's github says that the magnetic trait is broken in 1.21 and it's a known issue, and somewhat more importantly, none of my silent gear has the 'magnetic' trait (#697)

I did some testing and figured out what is causing the crashing but not why, maybe someone can figure it out with this info

in the 1.21 version of silentgear used in ATM10, the 'Greedy' trait has an effect that it didn't have in 1.20/ATM9 that doesn't show in the trait description, it magnets ores and gems supposedly, though it seems to only work on gems for me ingame after testing

In my sp game, I have two blaze gold bracelets and two blaze gold rings from silent gear, which is the only material that has the greedy trait, and i confirmed that putting those in my backpack canceled the magnetism effect, i'll switch the material on my jewelry and see if i stop getting the crash (though i expect i will)

hopefully this helps someone who searches for this, i literally couldn't find anyone with this error anywhere

Links/Images

Original log: https://mclo.gs/CQpowHo

Here are the crashes:

image

The only one that's different is the '-server' crash, which is here: https://mclo.gs/pvLwwNW

Steps to Reproduce the Problem

See above, I haven't successfully reproduced it outside of my original world. Best I can tell, use blaze gold jewelry with other item 'magnet' mods, such as:

Mob Grinding Utils
Simple Magnets
Sophisticated Backpacks

@Foffy123 Foffy123 added the bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.21 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants