Clean up send message again to use LibsMsg.send

This commit is contained in:
libraryaddict
2020-07-04 00:44:22 +12:00
parent b5b9b432f7
commit 8a59d64702
41 changed files with 270 additions and 268 deletions

View File

@@ -35,7 +35,7 @@ public class LDMetaInfo implements LDCommand {
MetaIndex index = MetaIndex.getMetaIndexByName(args[1]);
if (index == null) {
DisguiseUtilities.sendMessage(sender, LibsMsg.META_NOT_FOUND);
LibsMsg.META_NOT_FOUND.send(sender);
return;
}
@@ -69,7 +69,7 @@ public class LDMetaInfo implements LDCommand {
sender.spigot().sendMessage(builder.create());
} else {
DisguiseUtilities.sendMessage(sender, LibsMsg.META_VALUES_NO_CLICK,
LibsMsg.META_VALUES_NO_CLICK.send(sender,
StringUtils.join(names, LibsMsg.META_VALUE_SEPERATOR.get()));
}
}