Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Trim whitespace in skin color parsing #365

Merged
merged 1 commit into from
Feb 18, 2018

Conversation

Lyonlancer5
Copy link
Contributor

Some skins, notably manually edited ones, include spaces in the RGB color values, which causes the integer parse command to fail as it cannot recognize whitespace as a valid number.

This should now be able to read RGB values with spaces, for example: Combo3 : 255, 121, 198 and treat it the same way as Combo3: 255,121,198

@itdelatrisu itdelatrisu merged commit 37f0525 into itdelatrisu:master Feb 18, 2018
@Lyonlancer5 Lyonlancer5 deleted the skin-parser-spacings branch March 10, 2018 03:00
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants