2015-05-29 09:35:21 +00:00
|
|
|
From 2ed86fd19fa6146e1183c0f2af6ed9326f71be9d Mon Sep 17 00:00:00 2001
|
2014-07-21 20:46:54 +00:00
|
|
|
From: Smove <jan@lavasurvival.net>
|
|
|
|
Date: Sat, 1 Feb 2014 18:10:49 +1100
|
|
|
|
Subject: [PATCH] Implement Locale Getter for Players
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
2015-05-29 09:35:21 +00:00
|
|
|
index c8110fb..dc108f2 100644
|
2014-07-21 20:46:54 +00:00
|
|
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
2015-05-29 09:35:21 +00:00
|
|
|
@@ -1084,6 +1084,16 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
|
2014-07-21 20:46:54 +00:00
|
|
|
{
|
|
|
|
throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * Gets player locale language.
|
|
|
|
+ *
|
|
|
|
+ * @return the player's client language settings
|
|
|
|
+ */
|
|
|
|
+ public String getLocale()
|
|
|
|
+ {
|
|
|
|
+ throw new UnsupportedOperationException( "Not supported yet." );
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
|
|
|
|
Spigot spigot();
|
|
|
|
--
|
2015-05-25 12:05:40 +00:00
|
|
|
2.1.4
|
2014-07-21 20:46:54 +00:00
|
|
|
|