Remove "todos" as they have been moved to repo issues
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c4ce5e7399
commit
53e0d1e952
@ -10,8 +10,6 @@ import wtf.beatrice.nounspicker.utils.PermissionManager;
|
|||||||
public class NounsListSubCommand
|
public class NounsListSubCommand
|
||||||
{
|
{
|
||||||
|
|
||||||
// todo: pagination
|
|
||||||
|
|
||||||
public static boolean run(@NotNull CommandSender sender)
|
public static boolean run(@NotNull CommandSender sender)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -52,15 +52,11 @@ public class PAPIManager extends PlaceholderExpansion
|
|||||||
int pronounId;
|
int pronounId;
|
||||||
|
|
||||||
// base format is [She/Her]
|
// base format is [She/Her]
|
||||||
// todo: allow customizing from config.yml
|
|
||||||
final String baseFormat = ChatColor.DARK_GRAY + "[" + ChatColor.RESET + "%main%" +
|
final String baseFormat = ChatColor.DARK_GRAY + "[" + ChatColor.RESET + "%main%" +
|
||||||
ChatColor.DARK_GRAY + "/" + ChatColor.RESET + "%secondary%" +
|
ChatColor.DARK_GRAY + "/" + ChatColor.RESET + "%secondary%" +
|
||||||
ChatColor.DARK_GRAY + "]" + ChatColor.RESET;
|
ChatColor.DARK_GRAY + "]" + ChatColor.RESET;
|
||||||
|
|
||||||
|
|
||||||
// todo: this sends query every time we get a papi call, which is horrible for performance.
|
|
||||||
// todo: we should cache player pronouns too.
|
|
||||||
|
|
||||||
switch (identifier.toLowerCase()) {
|
switch (identifier.toLowerCase()) {
|
||||||
case "main_pronoun":
|
case "main_pronoun":
|
||||||
pronounId = Cache.dbManager.getPlayerPronounId(player.getName(), 0);
|
pronounId = Cache.dbManager.getPlayerPronounId(player.getName(), 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user