mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-23 19:42:51 +01:00
14 lines
429 B
C#
14 lines
429 B
C#
using System.Globalization;
|
|
|
|
namespace Phantom.Utils.Runtime;
|
|
|
|
public static class ProgramCulture {
|
|
public static void UseInvariantCulture() {
|
|
CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture;
|
|
CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture;
|
|
|
|
CultureInfo.CurrentCulture = CultureInfo.InvariantCulture;
|
|
CultureInfo.CurrentUICulture = CultureInfo.InvariantCulture;
|
|
}
|
|
}
|