LunaChat v2.6.7 : Fixed issue #100

このコミットが含まれているのは:
ucchy committed 2014-09-01 12:39:21 +09:00
1 親 6128131b11
コミット 23559dfebf
13ファイル変更
+157 -7

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

+16
ファイルの表示
@@ -186,6 +186,22 @@ public class ChannelPlayerUUID extends ChannelPlayer {
return "-";
}
/**
* 指定されたパーミッションノードの権限を持っているかどうかを取得する
* @param node パーミッションノード
* @return 権限を持っているかどうか
* @see com.github.ucchyocean.lc.channel.ChannelPlayer#hasPermission(java.lang.String)
*/
@Override
public boolean hasPermission(String node) {
Player player = getPlayer();
if ( player == null ) {
return false;
} else {
return player.hasPermission(node);
}
}
/**
* 指定されたCommandSenderと同一かどうかを返す
* @param sender