geforkt von Mirrors/Paper
Fix tests
Dieser Commit ist enthalten in:
Ursprung
0c33aa5134
Commit
b953c4baa7
@ -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.
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren