Skip to content

fix duplicate in export when games have a different type(table/enum) for the same dat name#222

Merged
SnosMe merged 2 commits into
poe-tool-dev:mainfrom
aang521:fix/enum_type_duplicate
May 29, 2026
Merged

fix duplicate in export when games have a different type(table/enum) for the same dat name#222
SnosMe merged 2 commits into
poe-tool-dev:mainfrom
aang521:fix/enum_type_duplicate

Conversation

@aang521
Copy link
Copy Markdown
Collaborator

@aang521 aang521 commented May 29, 2026

When something is defined as a enum for poe and type for poe2 the validFor will have a value of 3 for the enum.
This will happen with WeaponSoundTypes for example.
This change checks if there is already an enum or type defined and dont allow sharing if so.

…rride is a type but the poe1 version is an enum
@aang521 aang521 requested a review from SnosMe May 29, 2026 18:43
@SnosMe SnosMe changed the title Fix duplicate enum and type for poe2 fix duplicate in export when games have a different type(table/enum) for the same dat name May 29, 2026
@SnosMe SnosMe merged commit f59e0ad into poe-tool-dev:main May 29, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants