DarkflameUniverse / DarkflameServer

The main repository for the Darkflame Universe Server Emulator project.
https://www.darkflameuniverse.org/
GNU Affero General Public License v3.0
629 stars 171 forks source link

Fixed Misspelling for Treasure in PetComponent files #1617

Open TAHuntling opened 1 month ago

TAHuntling commented 1 month ago

Basically title. Original pet treasure variables were Tresure, which was a misspelling. All I did was rename each instance to Treasure, and changed the associated methods as well.

Tested by opening server and digging pet treasures to ensure nothing was conflicting. Pet treasure digs perform as intended still.

motivation: clean up code a bit

TAHuntling commented 1 month ago

As far as refactoring goes this was pretty simple, can you let me know more about what the pr is doing that they are working on? Maybe they could refactor it as well? Just curious