From 4e10daf826daaeaab3b6e508c298fe23d686a89e Mon Sep 17 00:00:00 2001 From: Lixfel Date: Tue, 24 May 2022 09:31:47 +0200 Subject: [PATCH] Fix locale --- SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java b/SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java index d289b2a..ff78332 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java @@ -98,7 +98,7 @@ public class SteamwarUser { public Locale getLocale() { if(locale != null) return locale; - locale = WorldOfColorWrapper.impl.getLocale(Bukkit.getPlayer(uuid)); + Locale locale = WorldOfColorWrapper.impl.getLocale(Bukkit.getPlayer(uuid)); if (locale != null) return locale; return Locale.getDefault();