mirror of
https://github.com/aikar/commands.git
synced 2026-05-31 06:11:55 +00:00
Fix an issue with CommandManager#usePerIssuerLocale(false)
It was not effectively disabled in the Bukkit module. This should fix that issue
This commit is contained in:
@@ -414,6 +414,11 @@ public class BukkitCommandManager extends CommandManager<
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean usePerIssuerLocale(boolean setting) {
|
||||
return usePerIssuerLocale(setting, setting);
|
||||
}
|
||||
|
||||
public boolean usePerIssuerLocale(boolean usePerIssuerLocale, boolean autoDetectFromClient) {
|
||||
boolean old = this.usePerIssuerLocale;
|
||||
this.usePerIssuerLocale = usePerIssuerLocale;
|
||||
|
||||
Reference in New Issue
Block a user