From 4655b12ae7cf1735bc951343fe2bc9679d7cb529 Mon Sep 17 00:00:00 2001 From: bowser0000 Date: Sun, 2 Aug 2020 16:19:03 -0400 Subject: Force US locale, fix Sea Witch string --- me/Danker/commands/LootCommand.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'me/Danker/commands') diff --git a/me/Danker/commands/LootCommand.java b/me/Danker/commands/LootCommand.java index 392e06c..5853cee 100644 --- a/me/Danker/commands/LootCommand.java +++ b/me/Danker/commands/LootCommand.java @@ -1,6 +1,7 @@ package me.Danker.commands; import java.text.NumberFormat; +import java.util.Locale; import net.minecraft.command.CommandBase; import net.minecraft.command.CommandException; @@ -130,7 +131,7 @@ public class LootCommand extends CommandBase { double timeNow = System.currentTimeMillis() / 1000; String timeBetween; String bossesBetween; - NumberFormat nf = NumberFormat.getIntegerInstance(); + NumberFormat nf = NumberFormat.getIntegerInstance(Locale.US); if (arg1[0].equalsIgnoreCase("wolf")) { if (wolfTime == -1) { timeBetween = "Never"; -- cgit