Examples of ITeamBase


Examples of com.flansmod.common.teams.ITeamBase

    //Do another op check
    if(!MinecraftServer.getServer().getConfigurationManager().func_152596_g(playerEntity.getGameProfile()))
      return;
   
    //Find the base and change its attributes (or destroy it)
    ITeamBase base = TeamsManager.getInstance().getBase(baseID);
    if(destroy)
    {
      base.destroy();
      return;
    }
    base.setDefaultOwnerID(teamID);
    base.setOwnerID(teamID);
    if(mapID != -1)
      base.setMapFirstTime(TeamsManager.getInstance().getMapFromFullName(maps[mapID]));
    base.setName(baseName);
   
    FlansMod.log(playerEntity.getCommandSenderName() + " modified attributes of base " + baseID);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.