Add initial ACL implementation

This commit is contained in:
Aria 2023-02-28 18:50:58 -07:00
parent f492ca9acd
commit a55a04f620
3 changed files with 116 additions and 3 deletions

View file

@ -79,7 +79,9 @@ public class WarpsCommand {
HoverEvent h2 = HoverTip.get(
ChatHelpers.macroize(Messages.WARP_HOVER_FORMAT,
ChatHelpers.macroize(Messages.WARP_OWNER, prof.name_color, prof.nickname),
ChatHelpers.macroize(Messages.WARP_ACCESS_FORMAT, )
ChatHelpers.macroize(Messages.WARP_ACCESS_FORMAT,
(warp.isPublic ? ChatHelpers.macroize(Messages.PUBLIC) : ChatHelpers.macroize(Messages.PRIVATE))
)
)
);