LunaChat v2.7.1 : Fixed issue #124

このコミットが含まれているのは:
ucchy committed 2015-02-17 00:03:45 +09:00
1 親 9508b3a782
コミット d17f2396d9
10ファイル変更
+71 -22

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

+16
ファイルの表示
@@ -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