//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);
}