Skip to content

Adjust EquipmentSpec initialization for TBC#62

Open
xeropresence wants to merge 1 commit intowowsims:mainfrom
xeropresence:tbc-ver-fix
Open

Adjust EquipmentSpec initialization for TBC#62
xeropresence wants to merge 1 commit intowowsims:mainfrom
xeropresence:tbc-ver-fix

Conversation

@xeropresence
Copy link

Modify EquipmentSpec creation logic for TBC version.

Modify EquipmentSpec creation logic for TBC version.

local equipment = nil;
if Env.IS_CLASSIC_TBC then
equipment = setmetatable({ items = items}, EquipmentSpecMeta)
Copy link
Contributor

@1337LutZ 1337LutZ Mar 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only fixes it for the Old Sim. This change can potentially break the new TBC Sim if there's Proto changes introduced.

EDIT: I was wrong, this version property isn't even used anymore

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