Anime-Game-Servers / Grasscutter-Quests

A server software implementation, ineroperable with a certain anime game client. The code in this repository is fully custom made for edyoucational purposes and future preservation, no copyrighted code is allowed in this repository.
https://grasscutters.xyz/grasscutter
GNU Affero General Public License v3.0
137 stars 31 forks source link

[BUGFIX] fix broken element changes at statues. #154

Closed scooterboo closed 2 months ago

scooterboo commented 2 months ago

Description

Going to a Statue of the seven and choosing "Resonate with {X}" wouldn't result in any changes. worldAreaDataMap was empty! My resources have keys that start with capital letters, where Grasscutter expects lower case.

Compare with https://github.com/Grasscutters/Grasscutter/blob/development/src/main/java/emu/grasscutter/data/excels/world/WorldAreaData.java

Doing this change fixed statues in Liyue and Inazuma. Sumeru's statues don't give you the choice to interact with them.

Type of changes

Checklist: