diff options
author | MiniDigger <admin@minidigger.me> | 2017-05-26 23:37:06 +0200 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-05-27 19:06:28 +1000 |
commit | 274304b8ca4f1f84cdd5d0746fef9bbe59a59862 (patch) | |
tree | 2128eb5232abc65be61e51d19f71d7755ed95f5c /src | |
parent | a479029a85221fa6ce31742aee1abbcc1f998289 (diff) | |
download | craftbukkit-274304b8ca4f1f84cdd5d0746fef9bbe59a59862.tar craftbukkit-274304b8ca4f1f84cdd5d0746fef9bbe59a59862.tar.gz craftbukkit-274304b8ca4f1f84cdd5d0746fef9bbe59a59862.tar.lz craftbukkit-274304b8ca4f1f84cdd5d0746fef9bbe59a59862.tar.xz craftbukkit-274304b8ca4f1f84cdd5d0746fef9bbe59a59862.zip |
SPIGOT-439: Add player locale related APIs.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java index 92b4bc9a..4764e70a 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java @@ -15,7 +15,6 @@ import java.util.Collection; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; -import java.util.Locale; import java.util.Map; import java.util.Set; import java.util.UUID; @@ -1446,4 +1445,9 @@ public class CraftPlayer extends CraftHumanEntity implements Player { return new CraftAdvancementProgress(craft, data, progress); } + + @Override + public String getLocale() { + return getHandle().locale; + } } |