mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-01 11:31:43 +00:00
Locale.ENGLISH!!1!
This commit is contained in:
parent
34edf34ba3
commit
3c71ae4cd9
10 changed files with 19 additions and 15 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue