Package logisticspipes.utils

Examples of logisticspipes.utils.PlayerIdentifier


  }

  @Override
  public ItemStack getCraftingResult(InventoryCrafting inv) {
    if(Configs.ENABLE_RESEARCH_SYSTEM) {
      PlayerIdentifier name = SimpleServiceLocator.craftingPermissionManager.getPlayerID(inv);
      if(name == null || name.equals("")) return null;
      if(!SimpleServiceLocator.craftingPermissionManager.isAllowedFor(dependent, name)) {
        return null;
      }
    }
    return super.getCraftingResult(inv);
View Full Code Here


  }

  @Override
  public boolean matches(InventoryCrafting inv, World world) {
    if(Configs.ENABLE_RESEARCH_SYSTEM) {
      PlayerIdentifier name = SimpleServiceLocator.craftingPermissionManager.getPlayerID(inv);
      if(name == null || name.equals("")) return false;
      if(!SimpleServiceLocator.craftingPermissionManager.isAllowedFor(dependent, name)) {
        return false;
      }
    }
    return super.matches(inv, world);
View Full Code Here

  }

  @Override
  public ItemStack getCraftingResult(InventoryCrafting inv) {
    if(Configs.ENABLE_RESEARCH_SYSTEM) {
      PlayerIdentifier name = SimpleServiceLocator.craftingPermissionManager.getPlayerID(inv);
      if(name == null || name.equals("")) return null;
      if(!SimpleServiceLocator.craftingPermissionManager.isAllowedFor(dependent, name)) {
        return null;
      }
    }
    return super.getCraftingResult(inv);
View Full Code Here

  }

  @Override
  public boolean matches(InventoryCrafting inv, World world) {
    if(Configs.ENABLE_RESEARCH_SYSTEM) {
      PlayerIdentifier name = SimpleServiceLocator.craftingPermissionManager.getPlayerID(inv);
      if(name == null || name.equals("")) return false;
      if(!SimpleServiceLocator.craftingPermissionManager.isAllowedFor(dependent, name)) {
        return false;
      }
    }
    return super.matches(inv, world);
View Full Code Here

TOP

Related Classes of logisticspipes.utils.PlayerIdentifier

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.