Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Convert Number formats #31

Open
DevSchmidtchen opened this issue Feb 21, 2017 · 0 comments
Open

Convert Number formats #31

DevSchmidtchen opened this issue Feb 21, 2017 · 0 comments

Comments

@DevSchmidtchen
Copy link

Hi

I am using Yamler for my configurations and I added my own Location-class extending the YamlConfig (so you can save it without certain converters). The problem with such YamlConfig as Converters is that there will be errors, if you do something with numbers and der YamlConfig cannot parse them. I am using nearly the same location class as in the example and I am getting errors if I restart the server after saving one Location. The problem is, that he can't set for example the field 'yaw' (Float) because he thinks its a double, however, I saved it as a float. So it would be cool, if there were extra opportunities for the right converting of numbers...

Yours sincerely
Schmidtchen

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

No branches or pull requests

1 participant