Hi, I have this example. Code: String seed = "someseed example"; // this is defined in config new WorldCreator("seedexample).seed(/*this wants long seed!*\).createWorld(); How do I convert the String seed, defined in config, to the long seed? Thanks!
Some user may want to use String seed, because sometimes it's better. I just want to convert it, not to ask for long in the config.
@RORAK If the user doesn't enter a long then you can't miraculously convert to one if it's not numeric. Best bet, just add some validation before you pass the seed to your WorldCreator. Add some good user feedback for if they enter an invalid long.