LunaChat v2.7.1 : Fixed issue #124
このコミットが含まれているのは:
1 親
9508b3a782
コミット
d17f2396d9
10ファイル変更
+71
-22
検索条件に一致するファイルはありません
@@ -202,6 +202,22 @@ public class ChannelPlayerUUID extends ChannelPlayer {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 指定されたパーミッションノードが定義されているかどうかを取得する
|
||||
* @param node パーミッションノード
|
||||
* @return 定義を持っているかどうか
|
||||
* @see com.github.ucchyocean.lc.channel.ChannelPlayer#isPermissionSet(java.lang.String)
|
||||
*/
|
||||
@Override
|
||||
public boolean isPermissionSet(String node) {
|
||||
Player player = getPlayer();
|
||||
if ( player == null ) {
|
||||
return false;
|
||||
} else {
|
||||
return player.isPermissionSet(node);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 指定されたCommandSenderと同一かどうかを返す
|
||||
* @param sender
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする