Skip to content

Commit

Permalink
v3.0.5-SNAPSHOT - scam protection, more plugin hooks, queuesign fix, …
Browse files Browse the repository at this point in the history
…addsign change
  • Loading branch information
Realizedd committed Jul 13, 2018
1 parent 696f52d commit f158c54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ buildscript {

allprojects {
group 'me.realized'
version '3.0.4-SNAPSHOT'
version '3.0.5-SNAPSHOT'
}

subprojects {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public List<String> onTabComplete(final CommandSender sender, final Command comm
}

if (args.length > 2) {
return handleTabCompletion(sender, args[1], "kit", kitManager.getKits(), Kit::getName);
return handleTabCompletion(sender, args[2], "kit", kitManager.getKits(), Kit::getName);
}

return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public QueueSign(final Sign sign, final String format, final Kit kit, final int

if (format != null) {
final String[] lines = format.split("\n");
System.arraycopy(lines, 0, data, 0, 4);
System.arraycopy(lines, 0, data, 0, lines.length);
}

this.lines = data;
Expand Down

0 comments on commit f158c54

Please sign in to comment.