FlashHUN / FlashNPCs

NPC mod for Minecraft 1.16.5+
GNU General Public License v3.0
22 stars 12 forks source link

Case sensitiviy inconsistency #29

Open Petrisis opened 2 years ago

Petrisis commented 2 years ago

This may or may not be intended but i want to let you know that it screwed me:

Setting a quests internal name InternalQuestName is totaly fine and accepting Quests with the parameter internalquestname works fine. But actually checking for quests with moveOnAcceptedQuest function is case sensitive allowing only exact name InternalQuestName.

It would be fine if it occured to me in a different order but at first i worked with a not-case sensitive function and assumed from thereon that this would not matter :D

FlashHUN commented 2 years ago

Wow, that's odd. It should be case sensitive in the acceptQuest function too... Thanks for letting me know!