LunaChat v3.0.14 : Fixed issue #209

このコミットが含まれているのは:
ucchy committed 2020-09-12 23:55:37 +09:00
1 親 5f5a8c219f
コミット 274415a763
2ファイル変更
+8 -4

検索条件に一致するファイルはありません

+4 -2
ファイルの表示
@@ -40,7 +40,8 @@ public class BungeePermsBridge {
* @return the full prefix; may be null
*/
public String userPrefix(String nameoruuid, String server, String world) {
return BungeePermsAPI.userPrefix(nameoruuid, server, world);
String prefix = BungeePermsAPI.userPrefix(nameoruuid, server, world);
return (prefix != null) ? prefix : "";
}
/**
@@ -51,6 +52,7 @@ public class BungeePermsBridge {
* @return the full suffix; may be null
*/
public String userSuffix(String nameoruuid, String server, String world) {
return BungeePermsAPI.userSuffix(nameoruuid, server, world);
String suffix = BungeePermsAPI.userSuffix(nameoruuid, server, world);
return (suffix != null) ? suffix : "";
}
}
+4 -2
ファイルの表示
@@ -49,7 +49,8 @@ public class VaultChatBridge {
* @return プレイヤーのprefix
*/
public String getPlayerPrefix(Player player) {
return chatPlugin.getPlayerPrefix(player);
String prefix = chatPlugin.getPlayerPrefix(player);
return (prefix != null) ? prefix : "";
}
/**
@@ -58,6 +59,7 @@ public class VaultChatBridge {
* @return プレイヤーのsuffix
*/
public String getPlayerSuffix(Player player) {
return chatPlugin.getPlayerSuffix(player);
String suffix = chatPlugin.getPlayerSuffix(player);
return (suffix != null) ? suffix : "";
}
}