Skip to content

Trim whitespace in skin color parsing#365

Merged
itdelatrisu merged 1 commit intoitdelatrisu:masterfrom
Lenidevelaire:skin-parser-spacings
Feb 18, 2018
Merged

Trim whitespace in skin color parsing#365
itdelatrisu merged 1 commit intoitdelatrisu:masterfrom
Lenidevelaire:skin-parser-spacings

Conversation

@Lyonlancer5
Copy link
Copy Markdown
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
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