mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-10-31 07:39:42 +01:00
Fixed captcha command dependency initializing too early
This commit is contained in:
parent
ffd6d8e525
commit
40fc2c893d
@ -12,11 +12,6 @@ import org.bukkit.entity.Player;
|
||||
|
||||
public class CaptchaCommand extends ExecutableCommand {
|
||||
|
||||
/**
|
||||
* RandomString instance, for captcha generation.
|
||||
*/
|
||||
public static RandomString randStr = new RandomString(Settings.captchaLength);
|
||||
|
||||
/**
|
||||
* Execute the command.
|
||||
*
|
||||
@ -34,6 +29,9 @@ public class CaptchaCommand extends ExecutableCommand {
|
||||
// Messages instance
|
||||
final Messages m = Messages.getInstance();
|
||||
|
||||
// Random string instance, for captcha generation (I think) -- timvisee
|
||||
RandomString randStr = new RandomString(Settings.captchaLength);
|
||||
|
||||
// Get the parameter values
|
||||
String captcha = commandArguments.get(0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user