From b953c4baa7724941786f1658a8d3b85bf0aefd62 Mon Sep 17 00:00:00 2001 From: Jason Penilla <11360596+jpenilla@users.noreply.github.com> Date: Thu, 9 Jun 2022 16:19:38 -0700 Subject: [PATCH] Fix tests --- ...-default-permission-message-configurable.patch | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/patches/api/Make-the-default-permission-message-configurable.patch b/patches/api/Make-the-default-permission-message-configurable.patch index 0e5d0f0eb1..a2f5763802 100644 --- a/patches/api/Make-the-default-permission-message-configurable.patch +++ b/patches/api/Make-the-default-permission-message-configurable.patch @@ -13,13 +13,26 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 } + /** ++ * Gets the default no permission message used on the server + * -+ * @return the default no permission message used on the server ++ * @return the default message ++ * @deprecated use {@link #permissionMessage()} + */ + @NotNull ++ @Deprecated + public static String getPermissionMessage() { + return server.getPermissionMessage(); + } ++ ++ /** ++ * Gets the default no permission message used on the server ++ * ++ * @return the default message ++ */ ++ @NotNull ++ public static net.kyori.adventure.text.Component permissionMessage() { ++ return server.permissionMessage(); ++ } + /** * Creates a PlayerProfile for the specified uuid, with name as null.