cryxli/ExpCraft — Issue #20: Force locale within PersistenceDatabase.setExp
Author: seberoth
Created: 2012-02-13 10:20:20+00:00
State: open

Hi,

it would be nice if you force the MessageFormat in PersistenceDatabase.setExp() to use Locale.US .

Like:

```java
MessageFormat form = new MessageFormat(UPDATE, Locale.US);
Object[] args = {module.getAbbr(), player.getName().toLowerCase(), exp};
String sql = form.format(args);
```

At the moment it use the locale and e.g. in Germany the double is formated like 5,5 (comma) and not 5.5 (dot). Because of that the Update fails.

I hope you understand what I mean. (Sry for my bad english).