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

Diamond is added to forge:tools/diamond tag defined by CoFH Core #1267

Closed
andriihorpenko opened this issue Jul 29, 2024 · 0 comments
Closed
Assignees
Labels
bug Something isn't working compat A mod is found to be incompatible fixed in dev Fixed in dev. Awaiting a new release.

Comments

@andriihorpenko
Copy link

andriihorpenko commented Jul 29, 2024

Mod Name

CoFH Core

Mod Homepage

https://www.curseforge.com/minecraft/mc-mods/cofh-core

Minecraft version

1.20.1

Describe the bug

Connector mistakenly adds Diamond item to the forge:tools/diamond tag defined by CoFH Core

Steps to reproduce

Note before reproduction

This effect can be achieved in approx 5/10 server restarts. The reason is unknown to me, but the bug does not happen consistently, though quite frequently.

Steps

  1. Install Sinytra Connector and CoFH Core (here is the tag definition)
  2. View tags of the vanilla's Diamond item. In approx 5/10 cases this item will have forge:tools/diamond tag.

Debugger steps

I've done some debugging, hopefully this will be useful due to the inconsistent nature of the bug.

1. Encountering c:diamonds tag

org.sinytra.connector.mod.compat.TagConverter#postProcessTags:42

image

2. Looping through COMMON_GROUP_PREFIXES (which includes "gems" and "tools")

org.sinytra.connector.mod.compat.TagConverter#getNormalizedTagName:83

image

3. Connector normalizes the tag to forge:tools/diamond

org.sinytra.connector.mod.compat.TagConverter#getNormalizedTagName:94

image

4. Connector adds invalid TagEntry

org.sinytra.connector.mod.compat.TagConverter#postProcessTags:53

image

Logs

https://gist.github.com/andriihorpenko/3fb6a1c3ad27139e946807a9cae1db12

Additional context

No response

@andriihorpenko andriihorpenko added the compat A mod is found to be incompatible label Jul 29, 2024
@andriihorpenko andriihorpenko changed the title Diamond is added to forge:tools/diamonds tag with Thermal Series installed Diamond is added to forge:tools/diamonds tag defined by CoFH Core Jul 29, 2024
@andriihorpenko andriihorpenko changed the title Diamond is added to forge:tools/diamonds tag defined by CoFH Core Diamond is added to forge:tools/diamond tag defined by CoFH Core Jul 29, 2024
@Su5eD Su5eD self-assigned this Jul 29, 2024
@Su5eD Su5eD added the bug Something isn't working label Jul 29, 2024
@Su5eD Su5eD moved this from 🆕 New to 🔖 Confirmed in Connector Triage Jul 29, 2024
@Su5eD Su5eD moved this from 🔖 Confirmed to 🏗 In progress in Connector Triage Aug 7, 2024
@Su5eD Su5eD added the fixed in dev Fixed in dev. Awaiting a new release. label Aug 7, 2024
@Su5eD Su5eD moved this from 🏗 In progress to 👀 In review in Connector Triage Aug 7, 2024
@Su5eD Su5eD closed this as completed in 4c7d95a Aug 7, 2024
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Connector Triage Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compat A mod is found to be incompatible fixed in dev Fixed in dev. Awaiting a new release.
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants