marcel0ll / CustomItems

The most simple way to add your custom items to minecraft
https://marcel0ll.github.io/CustomItems/
20 stars 19 forks source link

fix path separator to work on non-Windows systems #1

Closed pwestling closed 10 years ago

pwestling commented 10 years ago

The current code uses a hard-coded "\" as the path separator to find the config file, which isn;t correct for Unix system. This patch changes the code to use Java's File.separator, which will find the correct separator for the platform being run on. I've run this fix on my OSX machine and verified that it works.

marcel0ll commented 10 years ago

Wow, that was a noob mistake. Thanks for your help

pwestling commented 10 years ago

I've made the same mistake often enough. Glad I could help :smile: