Skip to content

Fix xenophobia in Creatures#4420

Merged
LtRipley36706 merged 1 commit intoACEmulator:masterfrom
LtRipley36706:fix-xenophobia
Mar 15, 2026
Merged

Fix xenophobia in Creatures#4420
LtRipley36706 merged 1 commit intoACEmulator:masterfrom
LtRipley36706:fix-xenophobia

Conversation

@LtRipley36706
Copy link
Member

Skip HeritageGroup checks during Activation/Use for Creatures.

Thanks to Atanamir for catching this bug!

Skip HeritageGroup checks during Activation/Use for Creatures
Copy link
Collaborator

@gmriggs gmriggs left a comment

Choose a reason for hiding this comment

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

are you sure this code works as expected?

is this if check intended to fail for Creatures, but pass for Players? or is it intended to fail for both?

@LtRipley36706
Copy link
Member Author

Yep, checked against NPCs and Vendors, while still maintaining the check for equipping or using other things that HeritageGroup defined.

The check is skipped if the WorldObject being used is a Creature.

@LtRipley36706 LtRipley36706 merged commit deb815b into ACEmulator:master Mar 15, 2026
2 checks 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