Optional use Player.getLocale() when running on Spigot #118
Labels
c: bukkit-imp
Affects the Bukkit version.
s: fixed
The issue has been resolved.
t: enhancement
An improvement of an existing function.
Milestone
Since some point before 1.7 Spigot added a
getLocale()
method toPlayer
that returns the player's current locale as String.While I do not want to enforce Spigot for using MyWarp, MyWarp could use this method if it is available instead of using reflection to access the locale field within Minecraft's player object.
The text was updated successfully, but these errors were encountered: