Locale.ENGLISH!!1!

This commit is contained in:
snowleo 2011-11-27 06:23:07 +01:00
parent 34edf34ba3
commit 3c71ae4cd9
10 changed files with 19 additions and 15 deletions

View file

@ -1,6 +1,7 @@
package com.earth2me.essentials.commands;
import com.earth2me.essentials.User;
import java.util.Locale;
import org.bukkit.Server;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
@ -24,7 +25,7 @@ public class Commandeco extends EssentialsCommand
double amount;
try
{
cmd = EcoCommands.valueOf(args[0].toUpperCase());
cmd = EcoCommands.valueOf(args[0].toUpperCase(Locale.ENGLISH));
amount = Double.parseDouble(args[2].replaceAll("[^0-9\\.]", ""));
}
catch (Exception ex)