Package com.massivecraft.factions.entity

Examples of com.massivecraft.factions.entity.UPlayer


  public static boolean canPlayerUseBlock(Player player, Block block, boolean justCheck)
  {
    String name = player.getName();
    if (MConf.get().playersWhoBypassAllProtection.contains(name)) return true;

    UPlayer me = UPlayer.get(player);
    if (me.isUsingAdminMode()) return true;
   
    PS ps = PS.valueOf(block);
    Material material = block.getType();
   
    if (Const.MATERIALS_EDIT_ON_INTERACT.contains(material) && ! FPerm.BUILD.has(me, ps, ! justCheck)) return false;
View Full Code Here

TOP

Related Classes of com.massivecraft.factions.entity.UPlayer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.