Add method to get player's locale

This commit is contained in:
md_5
2014-06-11 16:03:00 +10:00
parent 3c938c03c7
commit 91989564e5
2 changed files with 16 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
package net.md_5.bungee.api.connection;
import java.util.Locale;
import net.md_5.bungee.api.Callback;
import net.md_5.bungee.api.CommandSender;
import net.md_5.bungee.api.config.ServerInfo;
@@ -133,4 +134,11 @@ public interface ProxiedPlayer extends Connection, CommandSender
* @return the UUID
*/
UUID getUniqueId();
/**
* Gets this player's locale.
*
* @return the locale
*/
Locale getLocale();
}